xref: /openbsd/lib/csu/crtendS.c (revision a6445c1d)
1 /*	$OpenBSD: crtendS.c,v 1.8 2012/12/05 23:19:57 deraadt Exp $	*/
2 /*	$NetBSD: crtend.c,v 1.1 1997/04/16 19:38:24 thorpej Exp $	*/
3 
4 #include <sys/types.h>
5 #include "md_init.h"
6 #include "extern.h"
7 
8 static init_f __CTOR_LIST__[1]
9     __used __attribute__((section(".ctors"))) = { (void *)0 };	/* XXX */
10 static init_f __DTOR_LIST__[1]
11     __used __attribute__((section(".dtors"))) = { (void *)0 };	/* XXX */
12 
13 #if (__GNUC__ > 2)
14 static void * __JCR_END__[]
15     __used __attribute__((section(".jcr"), aligned(sizeof(void*)))) = { 0 };
16 #endif
17 
18 MD_SECTION_EPILOGUE(".init");
19 MD_SECTION_EPILOGUE(".fini");
20