diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 8506090ece..d7c4d7deb7 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-02-18 Daniel Jacobowitz + + * gas/sh/basic.exp: Don't run PIC tests for targets that don't + support it. + 2002-02-14 Tom Rix * 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 d68ac0a9f9..1f9608696f 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" }