]> granicus.if.org Git - gc/commit
2010-09-11 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Sat, 11 Sep 2010 10:38:25 +0000 (10:38 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 26 Jul 2011 17:06:54 +0000 (21:06 +0400)
commit1a5caf2d9f6f7d42327a8e08c69cd27e96a0b8d5
tree274b85536bb4b858b2dcfdc82283fa4e6e57393d
parent0201a5b78617a8b2a8d18f55165868c4ee958eb2
2010-09-11  Ivan Maidanski <ivmai@mail.ru>

* dyn_load.c (DL_ITERATE_PHDR_STRONG): New macro (define for
FreeBSD).
* dyn_load.c (GC_register_main_static_data): Move the definition
above GC_register_dynamic_libraries_dl_iterate_phdr one (FreeBSD
case); unconditionally return FALSE if DL_ITERATE_PHDR_STRONG.
* dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr): Test
GC_register_main_static_data() result (instead of direct testing
of dl_iterate_phdr (to prevent a compiler warning).
* os_dep.c (CODE_OK): Test si_code also for the value of 2
(FreeBSD case; required for FreeBSD v7+).
* os_dep.c (CODE_OK): Properly use parentheses (HPUX case).
* include/private/gcconfig.h (DATASTART): Cast etext argument in
GC_FreeBSDGetDataStart() call; remove unnecessary "&" (FreeBSD
case).
ChangeLog
dyn_load.c
include/private/gcconfig.h
os_dep.c