[PATCH v2 1/2] arm64: module: Emit BTI veneers for cross-section calls
Mark Brown
broonie at kernel.org
Mon Oct 5 08:07:10 PDT 2026
On Mon, Oct 05, 2026 at 01:05:13PM +0200, Ard Biesheuvel wrote:
> This means that calls into a module's .text section from .init.text,
> which may need to be routed via a PLT if .text is out of direct
> branching range, may result in BTI exceptions due to the indirect calls
> performed by the PLT veneers. (Note that calls to .init.text from .text
> are not allowed.)
> The 'solution' is to emit yet another veneer - this is what the ELF
> psABI for AArch64 mandates in this case.
Thanks for doing this - it'd be great to finally get something like this
merged, it's been sitting for far too long.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261005/73a9d8db/attachment.sig>
More information about the linux-arm-kernel
mailing list