[PATCH] VAX/BFD: Do not warn about GOT addend mismatches if no GOT entry is made
Jan-Benedict Glaw
jbglaw@lug-owl.de
Fri Dec 4 18:43:16 GMT 2020
Hi Maciej!
On Thu, 2020-12-03 13:32:39 +0000, Maciej W. Rozycki <macro@linux-mips.org> wrote:
> bfd/
> * elf32-vax.c (elf_vax_check_relocs) <R_VAX_GOT32>: Use
> SYMBOL_REFERENCES_LOCAL rather than `h->forced_local' to check
> whether the symbol referred is local or not.
>
> ld/
> * testsuite/ld-vax-elf/got-local-exe-off-hidden.dd: New test
> dump.
> * testsuite/ld-vax-elf/got-local-exe-off-visible.dd: New test
> dump.
> * testsuite/ld-vax-elf/got-local-lib-off-hidden.dd: New test
> dump.
> * testsuite/ld-vax-elf/got-local-lib-off-visible.ed: New test
> dump.
> * testsuite/ld-vax-elf/got-local-off-external.ed: New test dump.
> * testsuite/ld-vax-elf/got-local-exe-off.xd: New test dump.
> * testsuite/ld-vax-elf/got-local-lib-off.xd: New test dump.
> * testsuite/ld-vax-elf/got-local.ld: New test linker script.
> * testsuite/ld-vax-elf/got-local-aux-off.s: New test source.
> * testsuite/ld-vax-elf/got-local-def-off.s: New test source.
> * testsuite/ld-vax-elf/got-local-ref-off-external.s: New test
> source.
> * testsuite/ld-vax-elf/got-local-ref-off-hidden.s: New test
> source.
> * testsuite/ld-vax-elf/got-local-ref-off-visible.s: New test
> source.
> * testsuite/ld-vax-elf/vax-elf.exp: Run the new tests.
Good to go!
Reminds me that I'd like a pure all-opcode test case as well as one
for all addressing modes.
Thanks a lot, JBG
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20201204/3868559f/attachment.sig>
More information about the Binutils
mailing list