aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/sh/basic.exp4
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 8506090..d7c4d7d 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-18 Daniel Jacobowitz <drow@mvista.com>
+
+ * gas/sh/basic.exp: Don't run PIC tests for targets that don't
+ support it.
+
2002-02-14 Tom Rix <trix@redhat.com>
* gas/ppc/ppc.exp: Add xcoff altivec tests.
diff --git a/gas/testsuite/gas/sh/basic.exp b/gas/testsuite/gas/sh/basic.exp
index d68ac0a..1f96086 100644
--- a/gas/testsuite/gas/sh/basic.exp
+++ b/gas/testsuite/gas/sh/basic.exp
@@ -91,7 +91,9 @@ if [istarget sh*-*-*] then {
# Test DSP instructions
run_dump_test "dsp"
- run_dump_test "pic"
+ if {[istarget sh*-*elf] || [istarget sh*-linux*]} then {
+ run_dump_test "pic"
+ }
run_dump_test "pcrel"
}