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 /elf/sofini.c | |
parent | 3a33e487eeb65e2f1f633581c56bee2c60d0ca43 (diff) | |
download | glibc-d98bc91f30f657da1489e92983d72ef3a44a292f.zip glibc-d98bc91f30f657da1489e92983d72ef3a44a292f.tar.gz glibc-d98bc91f30f657da1489e92983d72ef3a44a292f.tar.bz2 |
Remove `.ctors' and `.dtors' output sectionshjl/ctor/release/2.12
Conflicts:
ChangeLog
configure
Diffstat (limited to 'elf/sofini.c')
-rw-r--r-- | elf/sofini.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/sofini.c b/elf/sofini.c index 5e06f0c..13e74b7 100644 --- a/elf/sofini.c +++ b/elf/sofini.c @@ -1,12 +1,14 @@ /* Finalizer module for ELF shared C library. This provides terminating null pointer words in the `.ctors' and `.dtors' sections. */ +#ifndef NO_CTORS_DTORS_SECTIONS static void (*const __CTOR_END__[1]) (void) __attribute__ ((used, section (".ctors"))) = { 0 }; static void (*const __DTOR_END__[1]) (void) __attribute__ ((used, section (".dtors"))) = { 0 }; +#endif /* Terminate the frame unwind info section with a 4byte 0 as a sentinel; this would be the 'length' field in a real FDE. */ |