diff options
author | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-07-13 23:05:37 +0000 |
---|---|---|
committer | Peter Valchev <pvalchev@cvs.openbsd.org> | 2004-07-13 23:05:37 +0000 |
commit | 721b9ae66d0b768e33fe39cbf8c1d12ed0fc6f90 (patch) | |
tree | 26ba2a0535c3f6674d3784d757b36cd7fce95009 /gnu/egcs/gcc/config | |
parent | 6eb67e4e5c24734eae2f44ce9f3af3a39021ef69 (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/config')
-rw-r--r-- | gnu/egcs/gcc/config/sparc/openbsd.h | 3 |
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 |