aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/sh.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-sh/sh.exp')
-rw-r--r--ld/testsuite/ld-sh/sh.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-sh/sh.exp b/ld/testsuite/ld-sh/sh.exp
index 09263bb..1fca64d 100644
--- a/ld/testsuite/ld-sh/sh.exp
+++ b/ld/testsuite/ld-sh/sh.exp
@@ -129,7 +129,7 @@ set testlink "SH relaxing"
set testjsr "SH confirm relaxing"
set testrun "SH relaxing execution"
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
untested $testlink
untested $testjsr
untested $testrun