diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-12-24 20:14:37 -0500 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-01-28 09:09:57 -0800 |
commit | d98bc91f30f657da1489e92983d72ef3a44a292f (patch) | |
tree | 323ef8439558fe3dcea3a041045008d25ce1f543 /sysdeps/unix/sysv/linux/init-first.c | |
parent | 3a33e487eeb65e2f1f633581c56bee2c60d0ca43 (diff) | |
download | glibc-d98bc91f30f657da1489e92983d72ef3a44a292f.tar.gz |
Remove `.ctors' and `.dtors' output sectionshjl/ctor/release/2.12
Conflicts:
ChangeLog
configure
Diffstat (limited to 'sysdeps/unix/sysv/linux/init-first.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/init-first.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c index 7b2333d4bf..a60212f4ed 100644 --- a/sysdeps/unix/sysv/linux/init-first.c +++ b/sysdeps/unix/sysv/linux/init-first.c @@ -93,7 +93,7 @@ _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 } |