[binutils-gdb] MIPS/LD/testsuite: Remove unused `*-*-linux*' target matcher

Maciej W. Rozycki macro@sourceware.org
Thu Apr 2 14:46:33 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=858b2eff4e5a56a45431a13d76ffdc8bcebb3ab1

commit 858b2eff4e5a56a45431a13d76ffdc8bcebb3ab1
Author: Maciej W. Rozycki <macro@orcam.me.uk>
Date:   Thu Apr 2 15:43:46 2026 +0100

    MIPS/LD/testsuite: Remove unused `*-*-linux*' target matcher
    
    In the setting of GAS and LD ABI flags the `*-*-linux*' target is used
    twice in a different legs of a multi-part conditional, with the second
    instance never having a chance to match due to the earlier one.  Remove
    the unused expression then.

Diff:
---
 ld/testsuite/ld-mips-elf/mips-elf.exp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index f1bbd81827f..c5c1e4e75a8 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -207,7 +207,6 @@ if {[istarget *-*-openbsd*] } {
      || [istarget *-mti-elf*] \
      || [istarget *-sde-elf*] \
      || [istarget *-*-netbsd*] \
-     || [istarget *-*-linux*] \
      || [istarget *-*-sysv4*] } {
     if [istarget *el-*-*] {
 	set abi_asflags(o32) -32


More information about the Binutils-cvs mailing list