diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-08-23 01:08:25 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-08-23 01:08:25 +0000 |
commit | 6e6bbb604ef6970174f50b710caf03c1d9fcee58 (patch) | |
tree | ea19101ce3b76442912a7a7ec9ac060bca726f9f /libgo | |
parent | c1b4a4c79a5099c8717600b69d12e45a4f31f222 (diff) | |
download | gcc-6e6bbb604ef6970174f50b710caf03c1d9fcee58.zip gcc-6e6bbb604ef6970174f50b710caf03c1d9fcee58.tar.gz gcc-6e6bbb604ef6970174f50b710caf03c1d9fcee58.tar.bz2 |
libgo: Update libtool.m4 from upstream to recognize powerpcle.
From-SVN: r201933
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/config/libtool.m4 | 12 | ||||
-rwxr-xr-x | libgo/configure | 16 |
2 files changed, 20 insertions, 8 deletions
diff --git a/libgo/config/libtool.m4 b/libgo/config/libtool.m4 index 1a667d3..a8321ed 100644 --- a/libgo/config/libtool.m4 +++ b/libgo/config/libtool.m4 @@ -1225,7 +1225,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 @@ -1239,7 +1239,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -1258,7 +1261,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) diff --git a/libgo/configure b/libgo/configure index 5c943ff..a1e045c 100755 --- a/libgo/configure +++ b/libgo/configure @@ -6501,7 +6501,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 @@ -6519,7 +6519,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -6538,7 +6541,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) @@ -11105,7 +11111,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11108 "configure" +#line 11114 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11211,7 +11217,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11214 "configure" +#line 11220 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |