1995-09-21 06:24:21 +00:00
|
|
|
/* Finalizer module for ELF shared C library. This provides terminating
|
|
|
|
|
null pointer words in the `.ctors' and `.dtors' sections. */
|
|
|
|
|
|
2010-12-24 20:14:37 -05:00
|
|
|
#ifndef NO_CTORS_DTORS_SECTIONS
|
1995-09-21 06:24:21 +00:00
|
|
|
static void (*const __CTOR_END__[1]) (void)
|
2003-07-22 19:37:41 +00:00
|
|
|
__attribute__ ((used, section (".ctors")))
|
1995-09-21 06:24:21 +00:00
|
|
|
= { 0 };
|
|
|
|
|
static void (*const __DTOR_END__[1]) (void)
|
2003-07-22 19:37:41 +00:00
|
|
|
__attribute__ ((used, section (".dtors")))
|
1995-09-21 06:24:21 +00:00
|
|
|
= { 0 };
|
2010-12-24 20:14:37 -05:00
|
|
|
#endif
|
1997-09-24 23:03:42 +00:00
|
|
|
|
|
|
|
|
/* Terminate the frame unwind info section with a 4byte 0 as a sentinel;
|
|
|
|
|
this would be the 'length' field in a real FDE. */
|
|
|
|
|
|
|
|
|
|
typedef unsigned int ui32 __attribute__ ((mode (SI)));
|
2006-02-24 22:57:38 +00:00
|
|
|
static const ui32 __FRAME_END__[1]
|
|
|
|
|
__attribute__ ((used, section (".eh_frame")))
|
|
|
|
|
= { 0 };
|