aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-empic/empic.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-empic/empic.exp')
-rw-r--r--ld/testsuite/ld-empic/empic.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-empic/empic.exp b/ld/testsuite/ld-empic/empic.exp
index 5039efe..e845822 100644
--- a/ld/testsuite/ld-empic/empic.exp
+++ b/ld/testsuite/ld-empic/empic.exp
@@ -29,6 +29,11 @@ if ![istarget mips*-*-ecoff*] {
set testname relax
+if { [which $CC] == 0 } {
+ untested $testname
+ return
+}
+
# Test that relaxation works correctly. This testsuite was composed
# (by experimentation) to force the linker to relax twice--that is,
# the first relaxation pass will force another call to be out of