[binutils-gdb] Re: gas: add --reloc-section-sym option

Alan Modra via Binutils-cvs <[email protected]> Tue, 7 Jul 2026 01:13:06 +0000 (GMT)
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=57ed2f26f7d2a576ed1bf8a92ec55785a6e4f892

commit 57ed2f26f7d2a576ed1bf8a92ec55785a6e4f892
Author: Alan Modra <[email protected]>
Date:   Mon Jul 6 19:24:25 2026 +0930

    Re: gas: add --reloc-section-sym option
    
            * testsuite/gas/elf/reloc-section-sym-none.d: Accept mips64 relocs.

Diff:
---
 gas/testsuite/gas/elf/reloc-section-sym-none.d | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gas/testsuite/gas/elf/reloc-section-sym-none.d b/gas/testsuite/gas/elf/reloc-section-sym-none.d
index 557728b1ee3..1fc0c697c1c 100644
--- a/gas/testsuite/gas/elf/reloc-section-sym-none.d
+++ b/gas/testsuite/gas/elf/reloc-section-sym-none.d
@@ -8,5 +8,7 @@
 RELOCATION RECORDS FOR \[\.data\]:
 OFFSET +TYPE +VALUE
 0*0 [^ ]+ +local.*
+#?0+ R_MIPS_NONE .*
+#?0+ R_MIPS_NONE .*
 0*4 [^ ]+ +\.Ltemp.*
 #pass