aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/misc.c
diff options
context:
space:
mode:
authorHans Boehm <Hans_Boehm@hp.com>2003-03-04 22:18:08 +0000
committerHans Boehm <hboehm@gcc.gnu.org>2003-03-04 22:18:08 +0000
commitc62b90642287de048ac1735adeb210e3b78ff874 (patch)
tree1d91feb234953cb7730e29e49af3ec28ecb7a656 /boehm-gc/misc.c
parent65ebbf81604b9234703aaa0bbe332e8d5301945c (diff)
downloadgcc-c62b90642287de048ac1735adeb210e3b78ff874.zip
gcc-c62b90642287de048ac1735adeb210e3b78ff874.tar.gz
gcc-c62b90642287de048ac1735adeb210e3b78ff874.tar.bz2
gcconfig.h (GC_data_start): declare when needed.
2003-03-04 Hans Boehm <Hans.Boehm@hp.com> * include/private/gcconfig.h (GC_data_start): declare when needed. * include/private/gc_priv.h: Include gcconfig.h after ptr_t declaration. * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr, GC_register_dynlib_callback): Register main data for static executable if dl_iterate_phdr() didn't. * misc.c (GC_init_inner): Call GC_init_linux_data_start() even if we don't expect to register main static data. From-SVN: r63809
Diffstat (limited to 'boehm-gc/misc.c')
-rw-r--r--boehm-gc/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/misc.c b/boehm-gc/misc.c
index 891cdc7..8f83ff3a 100644
--- a/boehm-gc/misc.c
+++ b/boehm-gc/misc.c
@@ -580,7 +580,7 @@ void GC_init_inner()
GC_init_win32();
# endif
# if defined(SEARCH_FOR_DATA_START)
- if (GC_REGISTER_MAIN_STATIC_DATA()) GC_init_linux_data_start();
+ GC_init_linux_data_start();
# endif
# if (defined(NETBSD) || defined(OPENBSD)) && defined(__ELF__)
GC_init_netbsd_elf();