aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2013-09-20 12:42:27 +0000
committerAlan Modra <modra@gmail.com>2013-09-20 12:42:27 +0000
commit519701251a28b26abbb8d8c21ca106364f96daaf (patch)
tree3ae723551ba92b1bc94320fcf00eecf7b3fe1260
parent073b57175fab28f52a0f407855ff587d3991faae (diff)
downloadnewlib-binutils-2_24-branch.zip
newlib-binutils-2_24-branch.tar.gz
newlib-binutils-2_24-branch.tar.bz2
* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonicalgithub/binutils-2_24-branchbinutils-2_24-branch
ppc host match. Support little-endian powerpc linux hosts. Regenerate configure files.
-rw-r--r--ChangeLog5
-rw-r--r--libtool.m412
2 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f390fa4..a93e13e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-20 Alan Modra <amodra@gmail.com>
+
+ * libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
+ ppc host match. Support little-endian powerpc linux hosts.
+
2013-08-16 Joel Brobecker <brobecker@adacore.com>
* src-release (VER): When using $(TOOL)/common/create-version.sh,
diff --git a/libtool.m4 b/libtool.m4
index 8a14e2b..797468f 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -1220,7 +1220,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
@@ -1241,7 +1241,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*)
@@ -1260,7 +1263,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*)