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.
This commit is contained in:
David E. O'Brien 2001-05-14 22:45:26 +00:00
parent ee6849153e
commit cb300ebf8e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76601

View File

@ -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