aboutsummaryrefslogtreecommitdiff
path: root/libtool.m4
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-09-20 09:51:25 +0000
committerAlan Modra <amodra@gmail.com>2013-09-20 09:51:25 +0000
commitcc9afea3e4788695be7e50621c39c1ae6f75dbc0 (patch)
tree262b46c4b3606692bc883ecfb64184b4a8770234 /libtool.m4
parentff2773be076b13525d78d9c99f49590343b1ed01 (diff)
downloadgdb-cc9afea3e4788695be7e50621c39c1ae6f75dbc0.zip
gdb-cc9afea3e4788695be7e50621c39c1ae6f75dbc0.tar.gz
gdb-cc9afea3e4788695be7e50621c39c1ae6f75dbc0.tar.bz2
* 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 'libtool.m4')
-rw-r--r--libtool.m412
1 files changed, 9 insertions, 3 deletions
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*)