Skip to content
Snippets Groups Projects
Commit 6dc03eee authored by David Conrad's avatar David Conrad Committed by Martin Storsjö
Browse files

Enable pointer authentication in assembly when building arm64e

parent d503bb0c
Branches master
No related tags found
No related merge requests found
......@@ -135,6 +135,12 @@
#endif
#define GNU_PROPERTY_AARCH64_PAC (1 << 1)
#elif defined(__APPLE__) && defined(__arm64e__)
#define GNU_PROPERTY_AARCH64_PAC 0
#define AARCH64_SIGN_LINK_REGISTER pacibsp
#define AARCH64_VALIDATE_LINK_REGISTER autibsp
#else /* __ARM_FEATURE_PAC_DEFAULT */
#define GNU_PROPERTY_AARCH64_PAC 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment