diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-23 01:08:25 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-23 01:08:25 +0000 |
commit | f248394b138d19d68661563d4b6b5a22e3b12b18 (patch) | |
tree | ea19101ce3b76442912a7a7ec9ac060bca726f9f /libgo/configure | |
parent | f6615b3e6c009bffd1af00d231e3fcc99755b206 (diff) | |
download | gcc-f248394b138d19d68661563d4b6b5a22e3b12b18.tar.gz |
libgo: Update libtool.m4 from upstream to recognize powerpcle.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/configure')
-rwxr-xr-x | libgo/configure | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libgo/configure b/libgo/configure index 5c943ff5589..a1e045cb625 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 |