2.5-18.1
[jlayton/glibc.git] / elf / sofini.c
1 /* Finalizer module for ELF shared C library.  This provides terminating
2    null pointer words in the `.ctors' and `.dtors' sections.  */
3
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 };
10
11 /* Terminate the frame unwind info section with a 4byte 0 as a sentinel;
12    this would be the 'length' field in a real FDE.  */
13
14 typedef unsigned int ui32 __attribute__ ((mode (SI)));
15 static const ui32 __FRAME_END__[1]
16   __attribute__ ((used, section (".eh_frame")))
17   = { 0 };