On 10/16/25 12:01 PM, Bill Roberts wrote:
See Commit Message for More Details - V7: - Drop GMP_GET_MACRO_VALUE - Drop GMP_CHECK_PROG - configure.ac already uses sed and grep, hardcoded, so add checks for them and use the variables over the direct command - Bolster documentation with links to the Arm ARM, ABI and Blog documentations - Make some clarifications in the commit message as well - Add NONLEAF_PROLOGUE instead of calling PROLOGUE(xxx, true) - naming convention follows MULFUNC_PROLOGUE naming convention - Update the pattern matching for determining if generic C or asm should be used - Requires EGREP for automatic configuration of assembly routines over generic C implementations - Add License to t-arm64_elf_check.sh - Detect sed and grep using autoconf and use the proper SED and GREP variables respectively to invoke them vs hardcoding it - Drop erroneous Makefile.am formatting change - V6: - Fix commit message wording - Fix double use of sign in commit message when verify was intended - Drop spurious whitespace only change in configure.ac - comment in tests/mpn/t-arm64_bti.c why we return 0 if the symbol is not found - Fix table whitespace in tests/mpn/t-arm64_bti.c - Use declare -g over eval in tests/mpn/t-arm64_elf_check.sh - Quote rc calculation and exit in tests/mpn/t-arm64_elf_check.sh - Fix typo in tests/mpn/t-arm64_elf_check.sh "binary ast he ONLY" -> "binary as the ONLY"- V5:- Fix cross compilation support - 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 (3): configure: use AC_PROG_GREP to detect a suitable grep configure: use AC_PROG_SED to detect a suitable sed aarch64: Support PAC and BTI configure.ac | 136 ++++++++++++++++++++++------ mpn/arm64/arm64-defs.m4 | 133 ++++++++++++++++++++++++++- mpn/arm64/divrem_1.asm | 8 +- tests/mpn/Makefile.am | 22 ++++- tests/mpn/t-arm64_bti.c | 91 +++++++++++++++++++ tests/mpn/t-arm64_elf_check.sh | 161 +++++++++++++++++++++++++++++++++ 6 files changed, 518 insertions(+), 33 deletions(-) create mode 100644 tests/mpn/t-arm64_bti.c create mode 100755 tests/mpn/t-arm64_elf_check.sh
Bump, Niels? _______________________________________________ gmp-devel mailing list [email protected] https://gmplib.org/mailman/listinfo/gmp-devel
