ld: Add --export-dynamic-symbol and --export-dynamic-symbol-list
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / tls.exp
index 523b84ebb8e0eb84c62118894f4ddeb7adf38700..380d6505a8438e8bec8457874df8378fb9b4a72b 100644 (file)
@@ -1,5 +1,5 @@
 # Expect script for TLS tests.
-#   Copyright (C) 2017-2018 Free Software Foundation, Inc.
+#   Copyright (C) 2017-2020 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -29,7 +29,7 @@ if { ![istarget *-*-linux*]
 }
 
 # Check to see if the C compiler works.
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
     return
 }
 
This page took 0.023333 seconds and 4 git commands to generate.