# Expect script for common symbol tests
-# Copyright (C) 2003-2019 Free Software Foundation, Inc.
+# Copyright (C) 2003-2020 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
set test1c1 "$test1 (change 1)"
set test1c2 "$test1 (change 2)"
-if { ![is_remote host] && [which $CC] == 0 } {
+if { ![check_compiler_available] } {
untested $test1w1
untested $test1w2
untested $test1c1
return
}
-global ld
-global link_output
-
set options "-r tmpdir/common1a.o tmpdir/common1b.o"
if { [ld_link $ld tmpdir/common1.o $options] } {