diff options
author | Alan Modra <amodra@gmail.com> | 2013-09-20 09:51:25 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-09-20 09:51:25 +0000 |
commit | cc9afea3e4788695be7e50621c39c1ae6f75dbc0 (patch) | |
tree | 262b46c4b3606692bc883ecfb64184b4a8770234 /gprof/configure | |
parent | ff2773be076b13525d78d9c99f49590343b1ed01 (diff) | |
download | gdb-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 'gprof/configure')
-rwxr-xr-x | gprof/configure | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gprof/configure b/gprof/configure index e23be40..5a9c81e 100755 --- a/gprof/configure +++ b/gprof/configure @@ -6885,7 +6885,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 @@ -6910,7 +6910,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*) @@ -6929,7 +6932,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*) @@ -11125,7 +11131,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11128 "configure" +#line 11134 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11231,7 +11237,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11234 "configure" +#line 11240 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |