summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/freebsd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/gcc/config/freebsd.h b/contrib/gcc/config/freebsd.h
index 13a099d..1b47acb 100644
--- a/contrib/gcc/config/freebsd.h
+++ b/contrib/gcc/config/freebsd.h
@@ -152,9 +152,14 @@ Boston, MA 02111-1307, USA. */
#undef HANDLE_SYSV_PRAGMA
#define HANDLE_SYSV_PRAGMA
+#ifdef WANT_DWARF2_UNWIND
/* FreeBSD ELF uses across the board will now use DWARF2 unwinding as the IA-64
psABI requires it. */
+#define DWARF2_UNWIND_INFO 1
+#else
+/* Maintain compatibility with the FreeBSD {3,4}.x C++ ABI. */
#define DWARF2_UNWIND_INFO 0
+#endif
/* 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
OpenPOWER on IntegriCloud