# Expect script for ld-sh tests
-# Copyright (C) 1995-2017 Free Software Foundation, Inc.
+# Copyright (C) 1995-2019 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
return
}
-if { ([istarget sh64*-*-*] || [istarget sh5*-*-*])} {
- # relaxing not supported on sh64 yet.
- return
-}
-
set testsimple "SH simple relaxing"
if ![ld_assemble $as "-relax $srcdir/$subdir/sh1.s" tmpdir/sh1.o] {
set testjsr "SH confirm relaxing"
set testrun "SH relaxing execution"
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
untested $testlink
untested $testjsr
untested $testrun