summaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-09-20 09:51:23 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-09-20 09:51:23 +0000
commitc1ca7640f853d174e7fe4397eac2497246df07cf (patch)
treed9d5096720eb40882409e632a1c0dde7e4c06ce5 /bfd/configure
parent47b6c713d749746593abeeb2977bd5c44b69b2d3 (diff)
downloadbinutils-redhat-c1ca7640f853d174e7fe4397eac2497246df07cf.tar.gz
* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
ppc host match. Support little-endian powerpc linux hosts. Regenerate binutils configure files.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure16
1 files changed, 11 insertions, 5 deletions
diff --git a/bfd/configure b/bfd/configure
index 85ea4b9924..c712926f6f 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -7206,7 +7206,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
@@ -7231,7 +7231,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*)
@@ -7250,7 +7253,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*)
@@ -11415,7 +11421,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11418 "configure"
+#line 11424 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11521,7 +11527,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11524 "configure"
+#line 11530 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H