]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/sofini.c
Fix bad pointer / leak in regex code
[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
4a531bb0 4#ifndef NO_CTORS_DTORS_SECTIONS
0324daa0 5static void (*const __CTOR_END__[1]) (void)
42251450 6 __attribute__ ((used, section (".ctors")))
0324daa0
RM
7 = { 0 };
8static void (*const __DTOR_END__[1]) (void)
42251450 9 __attribute__ ((used, section (".dtors")))
0324daa0 10 = { 0 };
4a531bb0 11#endif
650425ce 12
650425ce
UD
13/* Terminate the frame unwind info section with a 4byte 0 as a sentinel;
14 this would be the 'length' field in a real FDE. */
15
16typedef unsigned int ui32 __attribute__ ((mode (SI)));
03e81bce
RM
17static const ui32 __FRAME_END__[1]
18 __attribute__ ((used, section (".eh_frame")))
19 = { 0 };