]>
Commit | Line | Data |
---|---|---|
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 | 5 | static void (*const __CTOR_END__[1]) (void) |
42251450 | 6 | __attribute__ ((used, section (".ctors"))) |
0324daa0 RM |
7 | = { 0 }; |
8 | static 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 | ||
16 | typedef unsigned int ui32 __attribute__ ((mode (SI))); | |
03e81bce RM |
17 | static const ui32 __FRAME_END__[1] |
18 | __attribute__ ((used, section (".eh_frame"))) | |
19 | = { 0 }; |