[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils-cvs
Subject:    [binutils-gdb] Fix powerpc64 ld testsuite fail
From:       Alan Modra <amodra () sourceware ! org>
Date:       2016-04-27 7:40:40
Message-ID: 20160427074040.70603.qmail () sourceware ! org
[Download RAW message or body]

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=13b8c3356bc76abc3624ea9348cc8e834594dfe0

commit 13b8c3356bc76abc3624ea9348cc8e834594dfe0
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Apr 27 16:51:15 2016 +0930

    Fix powerpc64 ld testsuite fail
    
    	PR target/19985
    	* configure.tgt: Don't use var+=.

Diff:
---
 ld/ChangeLog     | 5 +++++
 ld/configure.tgt | 4 ++--
 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 ;;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic