aboutsummaryrefslogtreecommitdiff
path: root/sim/moxie/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-09-23 00:32:27 +0000
committerAlan Modra <amodra@gmail.com>2013-09-23 00:32:27 +0000
commitbf3d9781ec049aef88547a9be711df2c1291c898 (patch)
treef438aeefa58f663299d5ae2621e8d47b42c0bfb7 /sim/moxie/configure
parenteb381701a3c28ecfc147589e9f79a30921043ebe (diff)
downloadgdb-bf3d9781ec049aef88547a9be711df2c1291c898.zip
gdb-bf3d9781ec049aef88547a9be711df2c1291c898.tar.gz
gdb-bf3d9781ec049aef88547a9be711df2c1291c898.tar.bz2
Regenerate sim configure files to pick up support for powerpc64le in
libtool.m4.
Diffstat (limited to 'sim/moxie/configure')
-rw-r--r--sim/moxie/configure16
1 files changed, 11 insertions, 5 deletions
diff --git a/sim/moxie/configure b/sim/moxie/configure
index b3fd7f6..3c6b4cf 100644
--- a/sim/moxie/configure
+++ b/sim/moxie/configure
@@ -7398,7 +7398,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
@@ -7423,7 +7423,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*)
@@ -7442,7 +7445,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*)
@@ -12268,7 +12274,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12271 "configure"
+#line 12277 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12374,7 +12380,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12377 "configure"
+#line 12383 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H