diff options
author | 2009-07-14 16:37:31 +0000 | |
---|---|---|
committer | 2009-07-14 16:37:31 +0000 | |
commit | 29171da019f3da9dbf7880854b688e9dd7ab5cfd (patch) | |
tree | 8a1cf762cea54979d3fbed05fdf7986da4f934ed | |
parent | The scroll region cannot be one line only, ignore attempts to make it so. (diff) | |
download | wireguard-openbsd-29171da019f3da9dbf7880854b688e9dd7ab5cfd.tar.xz wireguard-openbsd-29171da019f3da9dbf7880854b688e9dd7ab5cfd.zip |
Don't specify mode(SI) attribute for __EH_FRAME_END__ as we have
32 bit ints on OpenBSD.
ok kettenis@
-rw-r--r-- | lib/csu/common_elf/crtend.c | 4 | ||||
-rw-r--r-- | lib/csu/crtend.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/csu/common_elf/crtend.c b/lib/csu/common_elf/crtend.c index 8c0d0726e84..f26b95580ba 100644 --- a/lib/csu/common_elf/crtend.c +++ b/lib/csu/common_elf/crtend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crtend.c,v 1.7 2009/04/13 20:15:24 kurt Exp $ */ +/* $OpenBSD: crtend.c,v 1.8 2009/07/14 16:37:31 jsg Exp $ */ /* $NetBSD: crtend.c,v 1.1 1996/09/12 16:59:04 cgd Exp $ */ #include <sys/cdefs.h> @@ -11,7 +11,7 @@ static init_f __DTOR_LIST__[1] __attribute__((section(".dtors"))) = { (void *)0 }; /* XXX */ static const int __EH_FRAME_END__[] -__attribute__((unused, mode(SI), section(".eh_frame"), aligned(4))) = { 0 }; +__attribute__((unused, section(".eh_frame"), aligned(4))) = { 0 }; #if (__GNUC__ > 2) static void * __JCR_END__[] diff --git a/lib/csu/crtend.c b/lib/csu/crtend.c index 8c0d0726e84..f26b95580ba 100644 --- a/lib/csu/crtend.c +++ b/lib/csu/crtend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crtend.c,v 1.7 2009/04/13 20:15:24 kurt Exp $ */ +/* $OpenBSD: crtend.c,v 1.8 2009/07/14 16:37:31 jsg Exp $ */ /* $NetBSD: crtend.c,v 1.1 1996/09/12 16:59:04 cgd Exp $ */ #include <sys/cdefs.h> @@ -11,7 +11,7 @@ static init_f __DTOR_LIST__[1] __attribute__((section(".dtors"))) = { (void *)0 }; /* XXX */ static const int __EH_FRAME_END__[] -__attribute__((unused, mode(SI), section(".eh_frame"), aligned(4))) = { 0 }; +__attribute__((unused, section(".eh_frame"), aligned(4))) = { 0 }; #if (__GNUC__ > 2) static void * __JCR_END__[] |