aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc28
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-03-22 10:02:13 +0800
committerobrien <obrien@FreeBSD.org>1999-03-22 10:02:13 +0800
commit1a713e1acca3c12f759eb7eae97f5c6dcd7cff18 (patch)
tree406cd8b1a32055f6839ffa0bc19e5e870b52e431 /lang/gcc28
parent145fee118d0fbdfda82092b75ecd9b44790642f9 (diff)
downloadfreebsd-ports-gnome-1a713e1acca3c12f759eb7eae97f5c6dcd7cff18.tar.gz
freebsd-ports-gnome-1a713e1acca3c12f759eb7eae97f5c6dcd7cff18.tar.zst
freebsd-ports-gnome-1a713e1acca3c12f759eb7eae97f5c6dcd7cff18.zip
Make -fsjlj-exceptions the default (ie, no DWARF2_UNWIND_INFO) for the ELF
case too. Submitted by: terry (Thanks to Amancio for identification)
Diffstat (limited to 'lang/gcc28')
-rw-r--r--lang/gcc28/files/patch-0211
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/gcc28/files/patch-02 b/lang/gcc28/files/patch-02
index 592d4aef734a..000b3b252434 100644
--- a/lang/gcc28/files/patch-02
+++ b/lang/gcc28/files/patch-02
@@ -1,6 +1,6 @@
--- config/i386/freebsd.h.orig Fri Dec 5 04:15:34 1997
-+++ config/i386/freebsd.h Mon Feb 8 12:03:09 1999
-@@ -26,8 +26,13 @@
++++ config/i386/freebsd.h Sun Mar 21 17:59:06 1999
+@@ -26,8 +26,18 @@
/* The svr4 ABI for the i386 says that records and unions are returned
in memory. */
@@ -12,10 +12,15 @@
+/* This gets defined in tm.h->linux.h->svr4.h, and keeps us from using
+ libraries compiled with the native cc, so undef it. */
+#undef NO_DOLLAR_IN_LABEL
++
++/* FreeBSD using ELF does not support DWARF2 unwinding mechanisms.
++ Thus, need the equivalent of "-fsjlj-exceptions" (use setjmp/longjmp
++ for exceptions). */
++#define DWARF2_UNWIND_INFO 0
/* This is how to output an element of a case-vector that is relative.
This is only used for PIC code. See comments by the `casesi' insn in
-@@ -140,7 +145,7 @@
+@@ -140,7 +150,7 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES