]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/sofini.c
Update.
[thirdparty/glibc.git] / elf / sofini.c
CommitLineData
0324daa0
RM
1/* Finalizer module for ELF shared C library. This provides terminating
2 null pointer words in the `.ctors' and `.dtors' sections. */
3
4static void (*const __CTOR_END__[1]) (void)
5 __attribute__ ((unused, section (".ctors")))
6 = { 0 };
7static void (*const __DTOR_END__[1]) (void)
8 __attribute__ ((unused, section (".dtors")))
9 = { 0 };
650425ce
UD
10
11#ifdef HAVE_DWARF2_UNWIND_INFO
12/* Terminate the frame unwind info section with a 4byte 0 as a sentinel;
13 this would be the 'length' field in a real FDE. */
14
15typedef unsigned int ui32 __attribute__ ((mode (SI)));
a5a0310d 16static ui32 __FRAME_END__[1]
650425ce
UD
17 __attribute__ ((unused, section (".eh_frame")))
18 = { 0 };
19#endif