From adf14613950cab716a81c37ea85cef0e1cea1fe1 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 18 Feb 2002 23:44:17 +0000 Subject: [PATCH] 2002-02-18 Daniel Jacobowitz * gas/sh/basic.exp: Don't run PIC tests for targets that don't support it. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/sh/basic.exp | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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" }