diff options
Diffstat (limited to 'elf/sofini.c')
-rw-r--r-- | elf/sofini.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/elf/sofini.c b/elf/sofini.c deleted file mode 100644 index 13e74b7903..0000000000 --- a/elf/sofini.c +++ /dev/null @@ -1,19 +0,0 @@ -/* 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. */ - -typedef unsigned int ui32 __attribute__ ((mode (SI))); -static const ui32 __FRAME_END__[1] - __attribute__ ((used, section (".eh_frame"))) - = { 0 }; |