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

Maciej W. Rozycki macro@sourceware.org
Sun Jul 6 18:24:51 GMT 2025


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

commit fcb6b96aa34d5de2f04d2b5ce659a4248fb6b103
Author: Maciej W. Rozycki <macro@orcam.me.uk>
Date:   Sun Jul 6 19:22:49 2025 +0100

    MIPS/LD/testsuite: Remove symbol table output from mips16-hilo tests
    
    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.

Diff:
---
 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(-)

diff --git a/ld/testsuite/ld-mips-elf/mips16-hilo-n32.d b/ld/testsuite/ld-mips-elf/mips16-hilo-n32.d
index 2048508373b..6bcb84840be 100644
--- a/ld/testsuite/ld-mips-elf/mips16-hilo-n32.d
+++ b/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
diff --git a/ld/testsuite/ld-mips-elf/mips16-hilo.d b/ld/testsuite/ld-mips-elf/mips16-hilo.d
index dfa840c45d5..0c1936e318b 100644
--- a/ld/testsuite/ld-mips-elf/mips16-hilo.d
+++ b/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-cvs mailing list