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

Maciej W. Rozycki macro@orcam.me.uk
Thu Apr 2 14:46:44 GMT 2026


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.
---
 ld/testsuite/ld-mips-elf/mips-elf.exp |    1 -
 1 file changed, 1 deletion(-)

binutils-mips-linux-ld-test-abi.diff
Index: binutils-gdb/ld/testsuite/ld-mips-elf/mips-elf.exp
===================================================================
--- binutils-gdb.orig/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ binutils-gdb/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 mailing list