Update
[glibc.git] / elf / sofini.c
blob16e77e72ad43f4e521547395b39aea8930bf3836
1 /* Finalizer module for ELF shared C library. This provides terminating
2 null pointer words in the `.ctors' and `.dtors' sections. */
4 static void (*const __CTOR_END__[1]) (void)
5 __attribute__ ((used, section (".ctors")))
6 = { 0 };
7 static void (*const __DTOR_END__[1]) (void)
8 __attribute__ ((used, section (".dtors")))
9 = { 0 };
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. */
15 typedef unsigned int ui32 __attribute__ ((mode (SI)));
16 static ui32 __FRAME_END__[1]
17 __attribute__ ((used, section (".eh_frame")))
18 = { 0 };
19 #endif