This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/LD/testsuite: Use $linux_gnu consistently across `mips-elf.exp'
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: <binutils at sourceware dot org>
- Date: Thu, 5 Jul 2018 19:44:57 +0100
- Subject: [committed] MIPS/LD/testsuite: Use $linux_gnu consistently across `mips-elf.exp'
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
}