MIPS/LD/testsuite: Use $linux_gnu consistently across `mips-elf.exp'
authorMaciej W. Rozycki <macro@mips.com>
Thu, 5 Jul 2018 18:44:02 +0000 (19:44 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Thu, 5 Jul 2018 18:44:02 +0000 (19:44 +0100)
Replace two remaining spelled-out calls to `[istarget mips*-*-linux*]'
in `mips-elf.exp' with $linux_gnu, which is equivalent.

ld/
* testsuite/ld-mips-elf/mips-elf.exp: Replace remaining calls to
`[istarget mips*-*-linux*]' with $linux_gnu.

ld/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf.exp

index d90c8d8..e3fc4e8 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-05  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/mips-elf.exp: Replace remaining calls to
+       `[istarget mips*-*-linux*]' with $linux_gnu.
+
 2018-07-05  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/23372
index 1a54662..ddd90f2 100644 (file)
@@ -781,7 +781,7 @@ run_dump_test "hash1a"
 run_dump_test "hash1b"
 run_dump_test "hash1c"
 
-if {[istarget mips*-*-linux*]} {
+if { $linux_gnu } {
     # The number of symbols that are always included in the symbol table
     # for these tests.
     #     the null symbol entry
@@ -885,7 +885,7 @@ set mips_tls_tests {
      "tls-hidden4.so"}
 }
 
-if {[istarget mips*-*-linux*]} {
+if { $linux_gnu } {
     run_ld_link_tests $mips_tls_tests
 }