Commit graph

7 commits

Author SHA1 Message Date
Bill Roberts f2a7e2ca8e
Merge aac367abfd into 5e96a82794 2025-08-03 08:16:46 -05:00
Igor Pavlov 395149956d 25.00 2025-07-05 19:27:33 +05:00
Bill Roberts aac367abfd
aarch64: enable PAC and BTI
Enable Pointer Authentication Codes (PAC) and Branch Target
Identification (BTI) support for ARM 64 targets.

Since the code base has no indirect branches or indirect jumps to any of
the assembly code, no need to mark up any of the assembly with PAC or
BTI instructions.

For BTI to work, all object files linked for a unit of execution,
whether an executable or a library must have the GNU Notes section of
the ELF file marked to indicate BTI support. This is so loader/linkers
can apply the proper permission bits (PROT_BRI) on the memory region.

PAC can also be annotated in the GNU ELF notes section, but it's not
required for enablement, as interleaved PAC and non-pac code works as
expected since it's the callee that performs all the checking.

Signed-off-by: Bill Roberts <bill.roberts@arm.com>
2024-10-21 13:45:33 -05:00
Igor Pavlov a7a1d4a241 24.07 2024-06-19 15:32:41 +05:00
Igor Pavlov fc662341e6 24.05 2024-05-15 23:55:04 +05:00
Igor Pavlov a3e1d22737 22.00 2023-12-17 13:35:20 +05:00
Igor Pavlov f19f813537 '21.07' 2022-03-18 15:35:13 +05:00