aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2017-01-31 12:20:48 +0000
committerJiong Wang <jiong.wang@arm.com>2017-02-01 12:57:25 +0000
commitce7903706d30e5fa335dd96eaaab3ae914ff8e64 (patch)
tree64540ec523603078e41ec34748cbe2de52e5a977 /ld
parent067869b677a9f167e13a7bdb5f5a4d408df9006a (diff)
downloadgdb-ce7903706d30e5fa335dd96eaaab3ae914ff8e64.zip
gdb-ce7903706d30e5fa335dd96eaaab3ae914ff8e64.tar.gz
gdb-ce7903706d30e5fa335dd96eaaab3ae914ff8e64.tar.bz2
[ld, testsuite] Append $board_cflags in one more place in ld-unique/unique.exp
ld/ * testsuite/ld-unique/unique.exp (Could not link a dynamic executable): Append $board_cflags to link commands.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-unique/unique.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3845d25..34fd303 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-01 Jiong Wang <jiong.wang@arm.com>
+
+ * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
+ Append $board_cflags to link commands.
+
2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
* testsuite/ld-scripts/print-memory-usage-1.l: Relax
diff --git a/ld/testsuite/ld-unique/unique.exp b/ld/testsuite/ld-unique/unique.exp
index f06622f..61c070a 100644
--- a/ld/testsuite/ld-unique/unique.exp
+++ b/ld/testsuite/ld-unique/unique.exp
@@ -197,7 +197,7 @@ if {![ld_link $ld "tmpdir/libunique_shared.so" "-shared tmpdir/unique_shared.o"]
}
# Create executable NOT containing unique symbol linked against library.
-if {![ld_link $CC "tmpdir/unique_shared_prog" "-Ltmpdir tmpdir/unique_empty.o -Wl,-Bdynamic,-rpath=./tmpdir -lunique_shared"] } {
+if {![ld_link "$CC $board_cflags" "tmpdir/unique_shared_prog" "-Ltmpdir tmpdir/unique_empty.o -Wl,-Bdynamic,-rpath=./tmpdir -lunique_shared"] } {
fail "Could not link a dynamic executable"
set fails [expr $fails + 1]
}