summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-01-25 20:30:31 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-01-25 20:30:31 +0000
commitb7f7bc1b5c07dfa816cdbf108d245715559ceae8 (patch)
treeb546c5ccf30e49f80dde1895ba229844253578ee
parent3e7d892621e851af91efad90f8ad0b71a70b7324 (diff)
C++ exception handling fix: non elf targets have to be explicit
about dwarf2 unwind information.
-rw-r--r--gnu/usr.bin/gcc/config/alpha/openbsd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/alpha/openbsd.h b/gnu/usr.bin/gcc/config/alpha/openbsd.h
index 1bcc47d5f71..f92ffa70e33 100644
--- a/gnu/usr.bin/gcc/config/alpha/openbsd.h
+++ b/gnu/usr.bin/gcc/config/alpha/openbsd.h
@@ -94,3 +94,7 @@ Boston, MA 02111-1307, USA. */
/* We're not ELF yet */
#undef HAS_INIT_SECTION
+
+/* can't use dwarf2-style exception handling as we're not elf... */
+#undef DWARF2_UNWIND_INFO
+#define DWARF2_UNWIND_INFO 0