HomeFreeBSD

arm64: Add PAC instruction macros

Description

arm64: Add PAC instruction macros

To support Pointer Authentication (PAC) in assembly files add a pair of
macros that sign the link register. When used before storing to the
stack it will allow hardware to detect if it has changed before using
it in the return instruction.

Reviewed by: markj, emaste
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D42226

Details

Provenance
andrewAuthored on Oct 12 2023, 9:48 AM
Reviewer
markj
Differential Revision
D42226: arm64: Add PAC instruction macros
Parents
rG82597d2102a0: arm64: Support creating a BTI & PAC note
Branches
Unknown
Tags
Unknown