Blame elf/sofini.c

Packit Service 82fcde
/* Finalizer module for ELF shared C library.  This provides terminating
Packit Service 82fcde
   null pointer words in the `.ctors' and `.dtors' sections.  */
Packit Service 82fcde
Packit Service 82fcde
#ifndef NO_CTORS_DTORS_SECTIONS
Packit Service 82fcde
static void (*const __CTOR_END__[1]) (void)
Packit Service 82fcde
     __attribute__ ((used, section (".ctors")))
Packit Service 82fcde
     = { 0 };
Packit Service 82fcde
static void (*const __DTOR_END__[1]) (void)
Packit Service 82fcde
     __attribute__ ((used, section (".dtors")))
Packit Service 82fcde
     = { 0 };
Packit Service 82fcde
#endif
Packit Service 82fcde
Packit Service 82fcde
/* Terminate the frame unwind info section with a 4byte 0 as a sentinel;
Packit Service 82fcde
   this would be the 'length' field in a real FDE.  */
Packit Service 82fcde
Packit Service 82fcde
typedef unsigned int ui32 __attribute__ ((mode (SI)));
Packit Service 82fcde
static const ui32 __FRAME_END__[1]
Packit Service 82fcde
  __attribute__ ((used, section (".eh_frame")))
Packit Service 82fcde
  = { 0 };