summaryrefslogtreecommitdiff
path: root/lib/csu/crtendS.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/crtendS.c')
-rw-r--r--lib/csu/crtendS.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/csu/crtendS.c b/lib/csu/crtendS.c
index 92493006494..cb41b9fcb49 100644
--- a/lib/csu/crtendS.c
+++ b/lib/csu/crtendS.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crtendS.c,v 1.6 2009/04/13 20:15:24 kurt Exp $ */
+/* $OpenBSD: crtendS.c,v 1.7 2010/05/01 11:32:43 kettenis Exp $ */
/* $NetBSD: crtend.c,v 1.1 1997/04/16 19:38:24 thorpej Exp $ */
#include <sys/cdefs.h>
@@ -6,13 +6,13 @@
#include "extern.h"
static init_f __CTOR_LIST__[1]
- __attribute__((section(".ctors"))) = { (void *)0 }; /* XXX */
+ __used __attribute__((section(".ctors"))) = { (void *)0 }; /* XXX */
static init_f __DTOR_LIST__[1]
- __attribute__((section(".dtors"))) = { (void *)0 }; /* XXX */
+ __used __attribute__((section(".dtors"))) = { (void *)0 }; /* XXX */
#if (__GNUC__ > 2)
static void * __JCR_END__[]
-__attribute__((unused, section(".jcr"), aligned(sizeof(void*)))) = { 0 };
+ __used __attribute__((section(".jcr"), aligned(sizeof(void*)))) = { 0 };
#endif
MD_SECTION_EPILOGUE(".init");