[committed] MIPS/LD/testsuite: Use $linux_gnu consistently across `mips-elf.exp'

Maciej W. Rozycki macro@mips.com
Thu Jul 5 18:45:00 GMT 2018
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/testsuite/ld-mips-elf/mips-elf.exp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

binutils-mips-ld-test-linux-gnu.diff
Index: binutils/ld/testsuite/ld-mips-elf/mips-elf.exp
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/mips-elf.exp	2018-07-04 12:14:00.000000000 +0100
+++ binutils/ld/testsuite/ld-mips-elf/mips-elf.exp	2018-07-04 12:16:48.968237584 +0100
@@ -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
 }
 



More information about the Binutils mailing list