Re: [PATCH v2 1/2] arm64: module: Emit BTI veneers for cross-section calls
From: Mark Brown
Date: Mon Oct 05 2026 - 11:11:13 EST
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.
Attachment:
signature.asc
Description: PGP signature