The .mcount function needs a BTI branch target. As we can't rely on
asm.h being included use the hint version of a "bti c" instruction.
This is a nop when BTI is not supported or not used.
Sponsored by: Arm Ltd
Differential D42230
arm64: Add a BTI landing pad to .mcount andrew on Oct 16 2023, 4:08 PM. Authored by Tags None Referenced Files
Details The .mcount function needs a BTI branch target. As we can't rely on Sponsored by: Arm Ltd
Diff Detail
|