summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/freebsd.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-05-22 06:52:04 +0000
committerobrien <obrien@FreeBSD.org>2000-05-22 06:52:04 +0000
commit03603928027eb505be259ce3cfc88a8135f112b1 (patch)
tree271f939a4871ca723305ca10c072ad5b0bcf6df8 /contrib/gcc/config/freebsd.h
parent7bb6980d510037c338d7f3986e78aefaab2a1ee9 (diff)
downloadFreeBSD-src-03603928027eb505be259ce3cfc88a8135f112b1.zip
FreeBSD-src-03603928027eb505be259ce3cfc88a8135f112b1.tar.gz
Do not use DWARF2 unwinding mechanisms for C++ exceptions on all of our
platforms.
Diffstat (limited to 'contrib/gcc/config/freebsd.h')
-rw-r--r--contrib/gcc/config/freebsd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gcc/config/freebsd.h b/contrib/gcc/config/freebsd.h
index b5064c2..b7985ed 100644
--- a/contrib/gcc/config/freebsd.h
+++ b/contrib/gcc/config/freebsd.h
@@ -136,6 +136,12 @@ Boston, MA 02111-1307, USA. */
#undef HANDLE_SYSV_PRAGMA
#define HANDLE_SYSV_PRAGMA
+/* FreeBSD ELF using our home-grown crtbegin.o/crtend.o does not support the
+ DWARF2 unwinding mechanisms. Once `make world' bootstraping problems with
+ the EGCS crtstuff.c is overcome, we will switch to the non-sjlj-exceptions
+ type exception machanism. */
+#define DWARF2_UNWIND_INFO 0
+
/* Do not use ``thunks'' to implement C++ vtables. This method still has
fatal bugs. Also, GCC 3.0 will have a new C++ ABI that may not even
support `thunks'. */
OpenPOWER on IntegriCloud