aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm/asm-source.exp
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-11-14 16:37:18 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-11-14 16:37:18 +0000
commit25050984999b3830cd4a2c2f94da9b09b915a164 (patch)
treeeb755ffc455c8d1b460fae4549f1b10a3089cfb9 /gdb/testsuite/gdb.asm/asm-source.exp
parent42ebd756d5f67ae48a379c0d433ffc42f97f9d54 (diff)
downloadgdb-25050984999b3830cd4a2c2f94da9b09b915a164.zip
gdb-25050984999b3830cd4a2c2f94da9b09b915a164.tar.gz
gdb-25050984999b3830cd4a2c2f94da9b09b915a164.tar.bz2
* gdb.asm/asm-sources.exp: Allow defining linker flags.
Diffstat (limited to 'gdb/testsuite/gdb.asm/asm-source.exp')
-rw-r--r--gdb/testsuite/gdb.asm/asm-source.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
index 7f73068..5377e68 100644
--- a/gdb/testsuite/gdb.asm/asm-source.exp
+++ b/gdb/testsuite/gdb.asm/asm-source.exp
@@ -33,6 +33,7 @@ set bug_id 0
set asm-arch ""
set asm-flags ""
+set link-flags ""
if [istarget "d10v-*-*"] then {
set asm-arch d10v
@@ -58,7 +59,7 @@ if {[target_assemble ${src2} asmsrc2.o "${asm-flags}"] != ""} then {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}
-if { [target_link "asmsrc1.o asmsrc2.o" ${binfile} ""] != "" } {
+if { [target_link "asmsrc1.o asmsrc2.o" ${binfile} "${link-flags}"] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}