From: Alan Modra Date: Wed, 27 Apr 2016 07:21:15 +0000 (+0930) Subject: Fix powerpc64 ld testsuite fail X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13b8c3356bc76abc3624ea9348cc8e834594dfe0;p=binutils-gdb.git Fix powerpc64 ld testsuite fail PR target/19985 * configure.tgt: Don't use var+=. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 4dd2cbc1f67..21e7c77cc47 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2016-04-27 Alan Modra + + PR target/19985 + * configure.tgt: Don't use var+=. + 2016-04-25 Nick Clifton PR target/19985 diff --git a/ld/configure.tgt b/ld/configure.tgt index da89e2b95ec..1f6db426a73 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -626,9 +626,9 @@ powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \ # 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}=\"\$${z} `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" done - eval targ_extra_emuls+=\" \$targ_emul\" + targ_extra_emuls="$targ_extra_emuls $targ_emul" eval targ_emul=\"`eval echo \\$targ_emul | sed -e 's/ppc/lppc/g'`\" esac ;; powerpc-*-nto*) targ_emul=elf32ppcnto ;;