[PATCH 07/12] arm64/bti: Advertise BTI in assembly objects
Mark Brown
broonie at kernel.org
Sat Aug 15 14:53:43 PDT 2026
On Fri, Aug 14, 2026 at 09:45:24PM -0700, Josh Poimboeuf wrote:
> On a kernel whose text exceeds the +/-128MB direct branch range, the
> linker inserts veneers. With BTI enabled, the veneers' indirect branch
> targets need a BTI landing pad, which not all functions have starting
> with Clang 21 (and for all versions of GCC).
We already have explicit note generation support in asm/assembler.h
which is used in the vDSO code, it probably makes sense to replace that
too. I didn't check if there's potential for the two to collide with
this as is.
-------------- 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/20260815/a97f3979/attachment.sig>
More information about the linux-arm-kernel
mailing list