[PATCH v4 0/1] Enable PAC and BTI for AArch64

Bill Roberts bill.roberts at arm.com
Mon Mar 17 19:01:13 CET 2025


Could I get a review of v4? Thanks.

- V4:
  - Fix typos in bash script comments
- V3:
  - Use divert(1) to add GNU Notes to ELF files to avoid
    needing the macro in each file.
- V2:
  - Add tests
- V1:
  - Initial Commit

Bill Roberts (1):
  aarch64: support PAC and BTI

 acinclude.m4                   |  33 +++++++++++
 configure.ac                   |  20 ++++++-
 mpn/Makeasm.am                 |   3 +-
 mpn/arm64/arm64-defs.m4        | 100 +++++++++++++++++++++++++++++++++
 mpn/arm64/divrem_1.asm         |   8 ++-
 tests/mpn/Makefile.am          |  43 +++++++++-----
 tests/mpn/log-compiler.sh      |  21 +++++++
 tests/mpn/t-arm64_bti.c        |  86 ++++++++++++++++++++++++++++
 tests/mpn/t-arm64_elf_check.sh |  96 +++++++++++++++++++++++++++++++
 9 files changed, 392 insertions(+), 18 deletions(-)
 create mode 100755 tests/mpn/log-compiler.sh
 create mode 100644 tests/mpn/t-arm64_bti.c
 create mode 100755 tests/mpn/t-arm64_elf_check.sh

-- 
2.46.0



More information about the gmp-devel mailing list