diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-01-17 11:45:56 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-01-17 11:56:48 +0300 |
commit | 59a1215bd265fbc48b1196e88f1765cf4830c6e7 (patch) | |
tree | 9e004366d8cacf33e85d4228b2b8b14008663690 /dyn_load.c | |
parent | 2cd1959f67bdd274a6581c0fe83ebf426f157f42 (diff) | |
download | bdwgc-59a1215bd265fbc48b1196e88f1765cf4830c6e7.tar.gz |
Do not declare dl_iterate_phdr as weak for DragonFly
* dyn_load.c [!USE_PROC_FOR_LIBRARIES && __DragonFly__]
(HAVE_DL_ITERATE_PHDR, DL_ITERATE_PHDR_STRONG): Define.
Diffstat (limited to 'dyn_load.c')
-rw-r--r-- | dyn_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -422,7 +422,7 @@ GC_INNER GC_bool GC_register_main_static_data(void) # endif #endif /* __GLIBC__ >= 2 || PLATFORM_ANDROID */ -#if (defined(FREEBSD) && __FreeBSD__ >= 7) +#if (defined(FREEBSD) && __FreeBSD__ >= 7) || defined(__DragonFly__) /* On the FreeBSD system, any target system at major version 7 shall */ /* have dl_iterate_phdr; therefore, we need not make it weak as below. */ # ifndef HAVE_DL_ITERATE_PHDR |