aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-04-27 16:51:15 +0930
committerAlan Modra <amodra@gmail.com>2016-04-27 17:07:26 +0930
commit13b8c3356bc76abc3624ea9348cc8e834594dfe0 (patch)
tree6c4fb0dc322593d4c694db887e94c456bc216b91 /ld
parent25771140e2dc735712d052ba621c57eeb7248d9f (diff)
downloadgdb-13b8c3356bc76abc3624ea9348cc8e834594dfe0.zip
gdb-13b8c3356bc76abc3624ea9348cc8e834594dfe0.tar.gz
gdb-13b8c3356bc76abc3624ea9348cc8e834594dfe0.tar.bz2
Fix powerpc64 ld testsuite fail
PR target/19985 * configure.tgt: Don't use var+=.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.tgt4
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4dd2cbc..21e7c77 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-27 Alan Modra <amodra@gmail.com>
+
+ PR target/19985
+ * configure.tgt: Don't use var+=.
+
2016-04-25 Nick Clifton <nickc@redhat.com>
PR target/19985
diff --git a/ld/configure.tgt b/ld/configure.tgt
index da89e2b..1f6db42 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 ;;