From 9613c0039f67f7ae0c1c82d3f25640268b48d11b Mon Sep 17 00:00:00 2001 From: amodra Date: Fri, 20 Sep 2013 09:47:52 +0000 Subject: * libtool.m4 (_LT_ENABLE_LOCK ): Remove non-canonical ppc host match. Support little-endian powerpc linux hosts. Regenerate configure throughout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202773 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/configure | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'libstdc++-v3/configure') diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index f3b4b13ecd7..e1672e068fd 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -7118,7 +7118,7 @@ ia64-*-hpux*) rm -rf conftest* ;; -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext @@ -7143,7 +7143,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) ;; esac ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*linux*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -7162,7 +7165,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*linux*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) @@ -11520,7 +11526,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11523 "configure" +#line 11529 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11626,7 +11632,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11629 "configure" +#line 11635 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15046,7 +15052,7 @@ fi # # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style. cat > conftest.$ac_ext << EOF -#line 15049 "configure" +#line 15055 "configure" struct S { ~S(); }; void bar(); void foo() @@ -15396,7 +15402,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; } # Fake what AC_TRY_COMPILE does. cat > conftest.$ac_ext << EOF -#line 15399 "configure" +#line 15405 "configure" int main() { typedef bool atomic_type; @@ -15431,7 +15437,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15434 "configure" +#line 15440 "configure" int main() { typedef short atomic_type; @@ -15466,7 +15472,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15469 "configure" +#line 15475 "configure" int main() { // NB: _Atomic_word not necessarily int. @@ -15502,7 +15508,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15505 "configure" +#line 15511 "configure" int main() { typedef long long atomic_type; @@ -15581,7 +15587,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 15584 "configure" +#line 15590 "configure" int main() { _Decimal32 d1; @@ -15623,7 +15629,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15626 "configure" +#line 15632 "configure" template struct same { typedef T2 type; }; @@ -15657,7 +15663,7 @@ $as_echo "$enable_int128" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15660 "configure" +#line 15666 "configure" template struct same { typedef T2 type; }; -- cgit v1.2.1