diff options
author | David Mosberger <davidm@hpl.hp.com> | 2003-12-11 20:50:33 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2003-12-11 12:50:33 -0800 |
commit | fe16ab7e3e9a7ee336de14045e9c324d1c18080a (patch) | |
tree | ac92f83a08c9061fe3cd759449a08d341d431a0c /gcc/config.gcc | |
parent | 7ac88634ad7825b671a22dfd9bbbadc8264b8175 (diff) | |
download | gcc-fe16ab7e3e9a7ee336de14045e9c324d1c18080a.zip gcc-fe16ab7e3e9a7ee336de14045e9c324d1c18080a.tar.gz gcc-fe16ab7e3e9a7ee336de14045e9c324d1c18080a.tar.bz2 |
libunwind related patch from David Mosberger
libunwind related patch from David Mosberger
* unwind-libunwind.c (_Unwind_SetGR): Clear the NaT bit as
required by C++ ABI for Itanium.
* config/t-libunwind (LIB2ADDEH): Remove unwind-libunwind.c.
* config/t-libunwind-no-eh: New file.
* configure.in: Check libunwind for _Unwind_Resume() and if it's
present, set libunwind_has_eh_support to "yes".
* configure: Regenerate.
* config.gcc (ia64*-*-linux*): If $libunwind_has_eh_support is
set to yes, use t-libunwind, otherwise, use t-libunwind-no-eh.
From-SVN: r74548
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index e92566c..efbcced 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1245,7 +1245,11 @@ ia64*-*-linux*) target_cpu_default="MASK_GNU_AS|MASK_GNU_LD" extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" if test x"$use_libunwind_exceptions" = xyes; then - tmake_file="$tmake_file t-libunwind" + if test x"$libunwind_has_eh_support" = xyes; then + tmake_file="$tmake_file t-libunwind" + else + tmake_file="$tmake_file t-libunwind-no-eh" + fi fi ;; ia64*-*-hpux*) |