diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-11 20:50:33 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-11 20:50:33 +0000 |
commit | 7f4135648f70c5d50795f26e5dfa74cde1c84278 (patch) | |
tree | ac92f83a08c9061fe3cd759449a08d341d431a0c /gcc/configure.in | |
parent | 749b6fab0265d445ecbe8ba658eef271e702a184 (diff) | |
download | gcc-7f4135648f70c5d50795f26e5dfa74cde1c84278.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74548 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.in')
-rw-r--r-- | gcc/configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/configure.in b/gcc/configure.in index ed32400dd5b..b8309015efa 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -957,6 +957,8 @@ use_libunwind_exceptions=$use_libunwind_default) if test x"$use_libunwind_exceptions" = xyes; then AC_DEFINE(USE_LIBUNWIND_EXCEPTIONS, 1, [Define if gcc should use -lunwind.]) + AC_CHECK_LIB(unwind, _Unwind_Resume, libunwind_has_eh_support=yes, + libunwind_has_eh_support=no) fi # -------------------------------------------------------- |