From 9d5f04acb03c2e6591949f1748d0ce52c6eca580 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 24 Jan 2009 09:57:31 +0000 Subject: [PATCH] * gas/lns/lns.exp: Don't run lns-duplicate for d10v target. --- gas/testsuite/ChangeLog | 4 ++++ gas/testsuite/gas/lns/lns.exp | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5e2bcd23b8f..7b8bb5a61bf 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-01-24 Andreas Schwab + + * gas/lns/lns.exp: Don't run lns-duplicate for d10v target. + 2009-01-23 Andreas Schwab * 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 acb2a9d6d79..c2c2913552d 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 -- 2.30.2