aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-18 23:44:17 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-18 23:44:17 +0000
commitadf14613950cab716a81c37ea85cef0e1cea1fe1 (patch)
tree1e9bd84ebd04bb7ea9e522e523e86a3866232249
parent6f8485501896dc36bcd7fd438887e010110a42eb (diff)
downloadgdb-adf14613950cab716a81c37ea85cef0e1cea1fe1.zip
gdb-adf14613950cab716a81c37ea85cef0e1cea1fe1.tar.gz
gdb-adf14613950cab716a81c37ea85cef0e1cea1fe1.tar.bz2
2002-02-18 Daniel Jacobowitz <drow@mvista.com>
* gas/sh/basic.exp: Don't run PIC tests for targets that don't support it.
-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"
}