From 53426f6c14acf5e3e163bcdda4c3b918ce208a7f Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Tue, 1 Oct 2013 17:34:40 +0100 Subject: Configuration bits for ARC port: toplevel: 2013-02-25 Simon Cook Changes to build configuration to allow big endian ARC ELF toolchain * configure.ac: Also add target-libgloss to noconfigdirs for arceb-*-*. * configure: Regenerate. gcc: 2013-04-03 Joern Rennecke Brendan Kehoe Simon Cook * config.gcc (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations. libstdc++-v3: 2012-08-16 Joern Rennecke * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Also check for _Unwind_SjLj_Register when deciding if to set enable_sjlj_exceptions. * configure: Regenerate. contrib: 2013-09-05 Joern Rennecke * config-list.mk: Add arc configurations. From-SVN: r203070 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/acinclude.m4 | 2 ++ libstdc++-v3/configure | 16 +++++++++------- 3 files changed, 17 insertions(+), 7 deletions(-) (limited to 'libstdc++-v3') diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 44e0d95..6c50194 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2013-10-01 Joern Rennecke + + * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Also check for + _Unwind_SjLj_Register when deciding if to set enable_sjlj_exceptions. + * configure: Regenerate. + 2013-10-01 Tim Shen PR libstdc++/58576 diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 72b90a8..f9d12d0 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -3139,6 +3139,8 @@ EOF if AC_TRY_EVAL(ac_compile); then if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then enable_sjlj_exceptions=yes + elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then + enable_sjlj_exceptions=yes elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then enable_sjlj_exceptions=no elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index e1672e0..c436cb9 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -15070,6 +15070,8 @@ EOF test $ac_status = 0; }; then if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then enable_sjlj_exceptions=yes + elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then + enable_sjlj_exceptions=yes elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then enable_sjlj_exceptions=no elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then @@ -15402,7 +15404,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; } # Fake what AC_TRY_COMPILE does. cat > conftest.$ac_ext << EOF -#line 15405 "configure" +#line 15407 "configure" int main() { typedef bool atomic_type; @@ -15437,7 +15439,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15440 "configure" +#line 15442 "configure" int main() { typedef short atomic_type; @@ -15472,7 +15474,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15475 "configure" +#line 15477 "configure" int main() { // NB: _Atomic_word not necessarily int. @@ -15508,7 +15510,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15511 "configure" +#line 15513 "configure" int main() { typedef long long atomic_type; @@ -15587,7 +15589,7 @@ $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a resu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15590 "configure" +#line 15592 "configure" int main() { _Decimal32 d1; @@ -15629,7 +15631,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15632 "configure" +#line 15634 "configure" template struct same { typedef T2 type; }; @@ -15663,7 +15665,7 @@ $as_echo "$enable_int128" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15666 "configure" +#line 15668 "configure" template struct same { typedef T2 type; }; -- cgit v1.1