HomeFreeBSD

module/icp/asm-arm/sha2: auto detect __ARM_ARCH

Description

module/icp/asm-arm/sha2: auto detect __ARM_ARCH

This patch uses __ARM_ARCH set by compiler (both
GCC and Clang have this) whenever possible instead
of hardcoding it to 7. This change allows code to
compile on earlier ARM architectures such as armv5te.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
Closes #15557

Details

Provenance
Shengqi Chen <harry-chen@outlook.com>Authored on Nov 22 2023, 1:58 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 28 2023, 9:25 PM
Parents
rGb3a985fa42de: Linux 6.6 compat: fix configure error with clang (#15558)
Branches
Unknown
Tags
Unknown