thorpej a6855eea24 Add support for DWARF2 frame unwinding/exception handling. This
should be sufficient for GCC 2.95.3, and probably GCC 3.0 as well.

Not yet enabled by default; further testing required.
2001-08-03 05:54:43 +00:00

22 lines
595 B
C

/* $NetBSD: crtend.c,v 1.8 2001/08/03 05:54:44 thorpej Exp $ */
#include <sys/cdefs.h>
#include "dot_init.h"
static void (*__CTOR_LIST__[1]) __P((void))
__attribute__((__unused__))
__attribute__((section(".ctors"))) = { (void *)0 }; /* XXX */
static void (*__DTOR_LIST__[1]) __P((void))
__attribute__((__unused__))
__attribute__((section(".dtors"))) = { (void *)0 }; /* XXX */
#ifdef DWARF2_EH
static unsigned int __FRAME_END__[]
__attribute__((__unused__))
__attribute__((section(".eh_frame"))) = { 0 };
#endif
MD_INIT_SECTION_EPILOGUE;
MD_FINI_SECTION_EPILOGUE;