[PATCH] AArch64 gas: Block section relative symbols in GOT relocations [PR30788]

Wilco Dijkstra Wilco.Dijkstra@arm.com
Wed May 27 13:07:15 GMT 2026


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


More information about the Binutils mailing list