From 36d0940e21a7c9aa6e760bd4d6b6be157c75f5e7 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 10 Oct 2004 18:29:16 +0000 Subject: Add support for DWARF2 exception handling. ok drahn@, millert@ --- lib/csu/crtend.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/csu/crtend.c') 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 @@ -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"); -- cgit v1.2.3