diff options
| author | Alan Modra <amodra@gmail.com> | 2013-09-20 12:42:30 +0000 |
|---|---|---|
| committer | Alan Modra <amodra@gmail.com> | 2013-09-20 12:42:30 +0000 |
| commit | a438f7e268296dd0f15d0682bbdaecd7b0ded7c6 (patch) | |
| tree | 5dc3c38d48c26acc54f6e83b55b81f3c98568807 /opcodes/configure | |
| parent | cf8965dfb1f0ec6aabdf4f4e0568aec76d3b19ed (diff) | |
| download | ppe42-binutils-a438f7e268296dd0f15d0682bbdaecd7b0ded7c6.tar.gz ppe42-binutils-a438f7e268296dd0f15d0682bbdaecd7b0ded7c6.zip | |
* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
ppc host match. Support little-endian powerpc linux hosts.
Regenerate configure files.
Diffstat (limited to 'opcodes/configure')
| -rwxr-xr-x | opcodes/configure | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/opcodes/configure b/opcodes/configure index 9ec47a9233..47bc29bb0d 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -6933,7 +6933,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 @@ -6958,7 +6958,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*) @@ -6977,7 +6980,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*) @@ -11143,7 +11149,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11146 "configure" +#line 11152 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11249,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11252 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |

