[PATCH] AArch64 gas: Block section relative symbols in GOT relocations [PR30788]
Richard Earnshaw (foss)
Richard.Earnshaw@arm.com
Wed Jun 10 17:28:25 GMT 2026
On 27/05/2026 14:07, Wilco Dijkstra wrote:
> Hi Richard,
>
>> The Arm equivalent of this function also has checks for TLS and VTABLE relocs as well. Do we need something similar here?
>
> TLS is already checked separately in adjust_reloc_syms().
>
> I don't believe any other GOT relocations are supported for AArch64. The list in
> bfd/bfd.h does not cover eg. R_AARCH64_GOTPCREL32, neither is there any
> assembler syntax defined for data relocations involving the GOT.
>
> Cheers,
> Wilco
After some extensive archaeology it's now clear that we don't care about the VTABLE stuff. In fact, I'm amazed that we didn't expunge that entirely some years ago - we certainly blew away all the tests for it.
OK.
R.
More information about the Binutils
mailing list