]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-cygwin/exe-export.exp
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-cygwin / exe-export.exp
index ba6b00c77b5c68dfab02d6b38c729406fbef6a3b..b9ad7598b8e9a19c2c5189ff9780e79bcc533b83 100644 (file)
@@ -1,5 +1,5 @@
 # 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
@@ -29,7 +29,7 @@ if {![istarget *-pc-cygwin]} {
 }\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
@@ -63,7 +63,7 @@ proc run_dlltool { lib_file def_file } {
 }\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