From 69444d9f14d4c2f5d79db7219c3baa4b59ee1e44 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 21 Sep 2005 06:55:49 +0000 Subject: [PATCH] * gas/lns/lns.exp (lns-common-1): Don't run on targets without a bare nop insn. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/lns/lns.exp | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index f2d24b0577..6e82c828d6 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-09-21 Alan Modra + + * gas/lns/lns.exp (lns-common-1): Don't run on targets without + a bare nop insn. + 2005-09-20 Richard Henderson * 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 784f9a34bf..1bc95990e3 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" }