summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-07-13 23:05:37 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-07-13 23:05:37 +0000
commit721b9ae66d0b768e33fe39cbf8c1d12ed0fc6f90 (patch)
tree26ba2a0535c3f6674d3784d757b36cd7fce95009 /gnu/egcs/gcc
parent6eb67e4e5c24734eae2f44ce9f3af3a39021ef69 (diff)
switch sparc to setjmp/longjmp exceptions as DWARF2 handling is not present.
fixes C++ exceptions. this relies on an earlier libstdc++ bump
Diffstat (limited to 'gnu/egcs/gcc')
-rw-r--r--gnu/egcs/gcc/config/sparc/openbsd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/config/sparc/openbsd.h b/gnu/egcs/gcc/config/sparc/openbsd.h
index a13f03d54d0..9ff54133bb7 100644
--- a/gnu/egcs/gcc/config/sparc/openbsd.h
+++ b/gnu/egcs/gcc/config/sparc/openbsd.h
@@ -65,5 +65,8 @@ Boston, MA 02111-1307, USA. */
#undef DEFAULT_PCC_STRUCT_RETURN
#define DEFAULT_PCC_STRUCT_RETURN 0
+/* XXX we do not handle DWARF2 correctly */
+#define DWARF2_UNWIND_INFO 0
+
/* problems occur if we're too liberal in preserve_subexpressions_p */
#define BROKEN_PRESERVE_SUBEXPRESSIONS_P