Skip to content
Snippets Groups Projects
Commit 6550059e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

aarch64: advertise assembler BTI support

As per the AArch64 ELF ABI, object files that support BTI need to
advertise it via a dedicated Linux ELF object file property in an ELF
note section. The linker can then check if all input object files
support the feature to advertise it at the shared object or executable
level.

In the case of BTI, this is necessary to enable the guarded page bit
in the memory mapping for BTI-capable .text sections.

This defines a macro to populate the note section and uses it.
parent bae40c79
No related branches found
No related tags found
1 merge request!1340aarch64: advertise assembler BTI support
Pipeline #187542 passed with stage
in 17 minutes and 21 seconds
Loading
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