diff options
Diffstat (limited to 'lib/csu/crtbegin.c')
-rw-r--r-- | lib/csu/crtbegin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/csu/crtbegin.c b/lib/csu/crtbegin.c index 95878e7db7f..325b9d9f1d3 100644 --- a/lib/csu/crtbegin.c +++ b/lib/csu/crtbegin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crtbegin.c,v 1.14 2010/05/01 11:32:43 kettenis Exp $ */ +/* $OpenBSD: crtbegin.c,v 1.15 2012/08/28 16:39:09 matthew Exp $ */ /* $NetBSD: crtbegin.c,v 1.1 1996/09/12 16:59:03 cgd Exp $ */ /* @@ -82,6 +82,8 @@ extern void _Jv_RegisterClasses (void *) #if (__GNUC__ > 2) void *__dso_handle = NULL; __asm(".hidden __dso_handle"); + +long __guard_local __dso_hidden __attribute__((section(".openbsd.randomdata"))); #endif static const init_f __CTOR_LIST__[1] |