https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671
--- Comment #2 from D Scott Phillips ---
th(In reply to Andrew Pinski from comment #1)
> Shouldn't the linker add the BTI inside the ___veneer instead?
The bti instruction has to be placed at the target of the indirect branch (at
the top of `fu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671
Bug ID: 106671
Summary: aarch64: BTI instruction are not inserted for
cross-section direct calls
Product: gcc
Version: 12.1.1
Status: UNCONFIRMED
Severity: nor