NetBSD/lib/csu/common_elf/crtend.c
christos 351fa65664 Instead of using -I- -I${.CURDIR} and #include "dot_init.h", use:
-I${.CURDIR} and #include <dot_init.h>, since -I- is obsoleted in gcc-4,
and it is too confusing anyway.
2006-05-19 19:11:12 +00:00

31 lines
839 B
C

/* $NetBSD: crtend.c,v 1.12 2006/05/19 19:11:12 christos 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