diff options
author | obrien <obrien@FreeBSD.org> | 2001-05-14 22:45:26 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-05-14 22:45:26 +0000 |
commit | 0983569edaffe5df7454b4a9059b16b6a61dd249 (patch) | |
tree | e0cb5f5410a4964edfd2387749793a380e6ba73e /contrib/gcc/config | |
parent | 9de7e180cbab0770de7744fd2b28277acbe601ae (diff) | |
download | FreeBSD-src-0983569edaffe5df7454b4a9059b16b6a61dd249.zip FreeBSD-src-0983569edaffe5df7454b4a9059b16b6a61dd249.tar.gz |
Make it easy for people to use define DWARF2 exceptions unwinding.
If "WANT_DWARF2_UNWIND" you get it. Note that this is a different C++ ABI
than the FreeBSD default. So you will need to recompile all your C++ apps
that uses exceptions if you turn this on. I am adding it here for Yahoo!'s
use and for those that want to be early adopters to what I will make as the
default with the GCC 3.0 import.
Diffstat (limited to 'contrib/gcc/config')
-rw-r--r-- | contrib/gcc/config/freebsd.h | 5 |
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 |