aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-09-21 06:55:49 +0000
committerAlan Modra <amodra@gmail.com>2005-09-21 06:55:49 +0000
commit69444d9f14d4c2f5d79db7219c3baa4b59ee1e44 (patch)
tree8b97db59214878b78ac305052bb3f87e47a8eb86
parent66bd02d33d0451bc127a1166f09f03ea66f273d5 (diff)
downloadgdb-69444d9f14d4c2f5d79db7219c3baa4b59ee1e44.zip
gdb-69444d9f14d4c2f5d79db7219c3baa4b59ee1e44.tar.gz
gdb-69444d9f14d4c2f5d79db7219c3baa4b59ee1e44.tar.bz2
* gas/lns/lns.exp (lns-common-1): Don't run on targets without
a bare nop insn.
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/lns/lns.exp9
2 files changed, 10 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f2d24b0..6e82c82 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-21 Alan Modra <amodra@bigpond.net.au>
+
+ * gas/lns/lns.exp (lns-common-1): Don't run on targets without
+ a bare nop insn.
+
2005-09-20 Richard Henderson <rth@redhat.com>
* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
diff --git a/gas/testsuite/gas/lns/lns.exp b/gas/testsuite/gas/lns/lns.exp
index 784f9a3..1bc9599 100644
--- a/gas/testsuite/gas/lns/lns.exp
+++ b/gas/testsuite/gas/lns/lns.exp
@@ -18,9 +18,10 @@ if ![is_elf_format] then {
run_list_test "lns-diag-1" ""
-# ??? Won't work on targets that don't have a bare "nop" insn,
-# which is only ia64, afaik. Perhaps we could arrange for an
-# include file or something that defined a macro...
-if ![istarget ia64*-*-*] {
+# ??? Won't work on targets that don't have a bare "nop" insn.
+# Perhaps we could arrange for an include file or something that
+# defined a macro...
+if { ![istarget ia64*-*-*] && ![istarget i370-*-*] && ![istarget i960-*-*]
+ && ![istarget or32-*-*] && ![istarget s390*-*-*] } {
run_dump_test "lns-common-1"
}