# Expect script for export table in executables tests\r
-# Copyright (C) 2003-2016 Free Software Foundation, Inc.
+# Copyright (C) 2003-2021 Free Software Foundation, Inc.
#\r
# This file is part of the GNU Binutils.\r
#\r
}\r
\r
# No compiler, no test.\r
-if { [which $CC] == 0 } {\r
+if { ![check_compiler_available] } {\r
untested "Exe export test (no compiler available)"\r
return\r
}\r
}\r
\r
# ld_special_link\r
-# A copy of ld_simple_link (from ld-lib.exp) with extra\r
+# A copy of ld_link (from ld-lib.exp) with extra\r
# code to strip warnings about creating libraries.\r
#\r
proc ld_special_link { ld target objects } {\r