[committed] MIPS/LD/testsuite: Remove symbol table output from mips16-hilo tests

Maciej W. Rozycki macro@orcam.me.uk
Sun Jul 6 18:24:58 GMT 2025


The o32 and n32 mips16-hilo MIPS LD tests request symbol table output 
only to discard it in matching.  The symbol table is not relevant to 
these tests, so remove it from output requested and adjust matching 
patterns accordingly.
---
 ld/testsuite/ld-mips-elf/mips16-hilo-n32.d |    2 +-
 ld/testsuite/ld-mips-elf/mips16-hilo.d     |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

binutils-mips-test-ld-mips16-hilo-sym.diff
Index: binutils-gdb/ld/testsuite/ld-mips-elf/mips16-hilo-n32.d
===================================================================
--- binutils-gdb.orig/ld/testsuite/ld-mips-elf/mips16-hilo-n32.d
+++ binutils-gdb/ld/testsuite/ld-mips-elf/mips16-hilo-n32.d
@@ -2,6 +2,6 @@
 #source: ../../../gas/testsuite/gas/mips/mips16-hilo.s
 #source: mips16-hilo.s
 #as: -march=mips3
-#objdump: -mmips:16 --prefix-addresses -tdr --show-raw-insn
+#objdump: -mmips:16 --prefix-addresses -dr --show-raw-insn
 #ld: -Tmips16-hilo.ld -e 0x500000 -N
 #dump: mips16-hilo.d
Index: binutils-gdb/ld/testsuite/ld-mips-elf/mips16-hilo.d
===================================================================
--- binutils-gdb.orig/ld/testsuite/ld-mips-elf/mips16-hilo.d
+++ binutils-gdb/ld/testsuite/ld-mips-elf/mips16-hilo.d
@@ -2,13 +2,11 @@
 #source: ../../../gas/testsuite/gas/mips/mips16-hilo.s
 #source: mips16-hilo.s
 #as: -march=mips1
-#objdump: -mmips:16 --prefix-addresses -tdr --show-raw-insn
+#objdump: -mmips:16 --prefix-addresses -dr --show-raw-insn
 #ld: -Tmips16-hilo.ld -e 0x500000 -N
 
 .*:     file format elf.*mips.*
 
-#...
-
 Disassembly of section .text:
 0+500000 <[^>]*> 6c00      	li	a0,0
 0+500002 <[^>]*> f400 3480 	sll	a0,16


More information about the Binutils mailing list