diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-12-24 20:14:37 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2010-12-24 20:14:37 -0500 |
commit | 4a531bb0b3b582cb693de9f76d2d97d970f9a5d5 (patch) | |
tree | 6f135f0145aab4c664d47d27d9aa08721a849888 /sysdeps/mach | |
parent | 07eb4b716ea5041bceb47b38ac8ab989a10b3afd (diff) | |
download | glibc-4a531bb0b3b582cb693de9f76d2d97d970f9a5d5.zip glibc-4a531bb0b3b582cb693de9f76d2d97d970f9a5d5.tar.gz glibc-4a531bb0b3b582cb693de9f76d2d97d970f9a5d5.tar.bz2 |
Remove `.ctors' and `.dtors' output sections
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/i386/init-first.c | 2 | ||||
-rw-r--r-- | sysdeps/mach/hurd/powerpc/init-first.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c index f9a7a58..60823bd 100644 --- a/sysdeps/mach/hurd/i386/init-first.c +++ b/sysdeps/mach/hurd/i386/init-first.c @@ -92,7 +92,7 @@ posixland_init (int argc, char **argv, char **envp) __getopt_clean_environment (envp); #endif -#ifdef SHARED +#if defined SHARED && !defined NO_CTORS_DTORS_SECTIONS __libc_global_ctors (); #endif } diff --git a/sysdeps/mach/hurd/powerpc/init-first.c b/sysdeps/mach/hurd/powerpc/init-first.c index 20fa1d4..21b5054 100644 --- a/sysdeps/mach/hurd/powerpc/init-first.c +++ b/sysdeps/mach/hurd/powerpc/init-first.c @@ -82,7 +82,7 @@ posixland_init (int argc, char **argv, char **envp) __getopt_clean_environment (__environ); #endif -#ifdef SHARED +#if defined SHARED && !defined NO_CTORS_DTORS_SECTIONS __libc_global_ctors (); #endif } |