Re: gas: add --reloc-section-sym option
Fangrui Song <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <CAN30aBFFQhjmfG_WE0RkO8VdSHF_RCjzQHvLquJ-7QcEMTGrbQ@mail.gmail.com> |
On Mon, Jul 6, 2026 at 6:12 PM Alan Modra <[email protected]> wrote: > > * testsuite/gas/elf/reloc-section-sym-none.d: Accept mips64 relocs. > > 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 > > -- > Alan Modra Thanks for fixing this, but which mips64 triple is this? I have tested mips64-linux-gnu among % ls aarch64-linux-gnu arc-linux-gnu bfin-elf crx-elf h8300-elf ia64-linux-gnu loongarch64-linux-gnu m68k-linux-gnu mn10200-elf nds32le-linux-gnu ppc64-linux-gnu rl78-elf score-elf tic6x-elf visium-elf xtensa-elf alpha-linux-gnu arm-linux-gnueabi cr16-elf csky-linux-gnu hppa-linux-gnu iq2000-elf m32r-linux-gnu mips64-linux-gnu msp430-elf or1k-elf pru-elf rx-elf sh-linux-gnu v850-elf x86_64-linux-gnu z8k-elf am33_2.0-linux-gnu avr-elf cris-linux-gnu frv-linux-gnu i686-linux-gnu kvx-linux-gnu m68hc11-elf mmix-mmixware nds32le-elf or1k-linux-gnu riscv64-linux-gnu s390x-linux-gnu sparc64-linux-gnu vax-linux-gnu xgate-elf and they are all passing. ~/Dev/binutils-gdb/out/cross/mips64-linux-gnu % make all-gas check-gas RUNTESTFLAGS='elf.exp=reloc-s* -vv' -j 30 ... === gas Summary === # of expected passes 1 /home/ray/Dev/binutils-gdb/out/cross/mips64-linux-gnu/gas/as-new 2.46.50.20260705