aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-01-24 09:57:31 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2009-01-24 09:57:31 +0000
commit9d5f04acb03c2e6591949f1748d0ce52c6eca580 (patch)
tree89be1fa7f9f194aed5eceb12e7db11634bd56b74
parent1e8fa21e6d006b81fb331c5efc009b96a1502bac (diff)
downloadfsf-binutils-gdb-9d5f04acb03c2e6591949f1748d0ce52c6eca580.zip
fsf-binutils-gdb-9d5f04acb03c2e6591949f1748d0ce52c6eca580.tar.gz
fsf-binutils-gdb-9d5f04acb03c2e6591949f1748d0ce52c6eca580.tar.bz2
* gas/lns/lns.exp: Don't run lns-duplicate for d10v target.
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/lns/lns.exp6
2 files changed, 9 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5e2bcd2..7b8bb5a 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-24 Andreas Schwab <schwab@suse.de>
+
+ * gas/lns/lns.exp: Don't run lns-duplicate for d10v target.
+
2009-01-23 Andreas Schwab <schwab@suse.de>
* gas/mips/mips16-e.d: Adjust for change in LOCAL_LABEL_PREFIX.
diff --git a/gas/testsuite/gas/lns/lns.exp b/gas/testsuite/gas/lns/lns.exp
index acb2a9d..c2c2913 100644
--- a/gas/testsuite/gas/lns/lns.exp
+++ b/gas/testsuite/gas/lns/lns.exp
@@ -4,7 +4,11 @@ if ![is_elf_format] then {
run_list_test "lns-diag-1" ""
-run_dump_test "lns-duplicate"
+# Does not work on targets that do not generate line number
+# information (d10v).
+if {![istarget d10v-*-*]} {
+ run_dump_test "lns-duplicate"
+}
# ??? Won't work on targets that don't have a bare "nop" insn.
# Perhaps we could arrange for an include file or something that