diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2004-10-10 18:29:16 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2004-10-10 18:29:16 +0000 |
commit | 36d0940e21a7c9aa6e760bd4d6b6be157c75f5e7 (patch) | |
tree | 78273566b87a2d956b49000bd362f1fd0c8057b8 /lib/csu/crtend.c | |
parent | e95e35131e104d304bc65adc58d64c804cd4d41e (diff) |
Add support for DWARF2 exception handling.
ok drahn@, millert@
Diffstat (limited to 'lib/csu/crtend.c')
-rw-r--r-- | lib/csu/crtend.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/csu/crtend.c b/lib/csu/crtend.c index 4f9cfe6deed..762b3c781bd 100644 --- a/lib/csu/crtend.c +++ b/lib/csu/crtend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crtend.c,v 1.5 2004/01/26 20:04:11 espie Exp $ */ +/* $OpenBSD: crtend.c,v 1.6 2004/10/10 18:29:15 kettenis Exp $ */ /* $NetBSD: crtend.c,v 1.1 1996/09/12 16:59:04 cgd Exp $ */ #include <sys/cdefs.h> @@ -10,5 +10,8 @@ static init_f __CTOR_LIST__[1] 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 }; + MD_SECTION_EPILOGUE(".init"); MD_SECTION_EPILOGUE(".fini"); |