Commit graph

14 commits

Author SHA1 Message Date
Bill Roberts f2a7e2ca8e
Merge aac367abfd into 5e96a82794 2025-08-03 08:16:46 -05:00
Igor Pavlov 5e96a82794 25.01 2025-08-03 16:14:59 +05:00
Igor Pavlov 395149956d 25.00 2025-07-05 19:27:33 +05:00
Igor Pavlov e5431fa6f5 24.09 2024-11-30 15:27:15 +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 e008ce3976 24.08 2024-08-12 16:50:32 +05:00
Igor Pavlov a7a1d4a241 24.07 2024-06-19 15:32:41 +05:00
Igor Pavlov 89a73b9012 24.06 2024-05-27 12:41:10 +05:00
Igor Pavlov fc662341e6 24.05 2024-05-15 23:55:04 +05:00
Igor Pavlov 5b39dc76f1 23.01 2023-12-17 14:59:19 +05:00
Igor Pavlov 93be7d4abf 22.01 2023-12-17 14:35:38 +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
ip7z 98e06a519b
Initial commit 2022-03-05 17:25:21 +05:00