[binutils-gdb] MIPS/LD/testsuite: Use $linux_gnu consistently across `mips-elf.exp'
Maciej W.Rozycki
macro@sourceware.org
Thu Jul 5 18:44:00 GMT 2018
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a5628fa8443f2182fcd799e03de31d1f8759df83
commit a5628fa8443f2182fcd799e03de31d1f8759df83
Author: Maciej W. Rozycki <macro@mips.com>
Date: Thu Jul 5 19:44:02 2018 +0100
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.
Diff:
---
ld/ChangeLog | 5 +++++
ld/testsuite/ld-mips-elf/mips-elf.exp | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d90c8d8..e3fc4e8 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index 1a54662..ddd90f2 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -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-cvs
mailing list