diff options
author | Nick Clifton <nickc@redhat.com> | 2016-04-25 17:25:27 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-04-25 17:25:27 +0100 |
commit | 731bb67af7ba357164095a035749e3aaa9ac1f4f (patch) | |
tree | e01aa9028e8ec92140a904240b973aa8026a24ff /ld/configure.tgt | |
parent | 0e03d18a4eeb90d3dc17814d5e4c05c5812f50ba (diff) | |
download | gdb-731bb67af7ba357164095a035749e3aaa9ac1f4f.zip gdb-731bb67af7ba357164095a035749e3aaa9ac1f4f.tar.gz gdb-731bb67af7ba357164095a035749e3aaa9ac1f4f.tar.bz2 |
Allow powerpc64le-linux-gnu toolchain to support big endian targets as well.
PR target/19985
* configure.tgt: Include big endian PPC64 emulations with little
endian PPC64 targets.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r-- | ld/configure.tgt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt index aabcfc0..da89e2b 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -623,10 +623,13 @@ powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \ esac case "${targ}" in powerpc*le-*) - for z in targ_emul targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath + # PR 19985: Include big endian emulations. + for z in targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath do - eval ${z}=\"`eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" + eval ${z}+=\" `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" done + eval targ_extra_emuls+=\" \$targ_emul\" + eval targ_emul=\"`eval echo \\$targ_emul | sed -e 's/ppc/lppc/g'`\" esac ;; powerpc-*-nto*) targ_emul=elf32ppcnto ;; powerpcle-*-nto*) targ_emul=elf32lppcnto ;; |