NetBSD/lib/csu/common_elf/crtend.c

31 lines
838 B
C

/* $NetBSD: crtend.c,v 1.11 2004/08/28 00:19:22 thorpej Exp $ */
#include <sys/cdefs.h>
#include "dot_init.h"
/*
* WE SHOULD BE USING GCC-SUPPLIED crtend.o FOR GCC 3.3 AND
* LATER!!!
*/
#if __GNUC_PREREQ__(3, 3)
#error "Use GCC-supplied crtend.o"
#endif
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
#if defined(JCR) && defined(__GNUC__)
static void *__JCR_END__[1]
__attribute__((__unused__, section(".jcr"))) = { (void *) 0 };
#endif