[openssl/openssl] 6a2006: aes/asm/bsaes-armv7.pl: Replace adrl with add
noreply at github.com
Tue Mar 14 21:24:48 UTC 2023
Author: Kornel Dulęba <mindal at semihalf.com>
Date: 2023-03-15 (Wed, 15 Mar 2023)
aes/asm/bsaes-armv7.pl: Replace adrl with add
"adrl" is a pseudo-instruction used to calculate an address relative
to PC. It's not recognized by clang resulting in a compilation error.
I've stumbled upon it when trying to integrate the bsaes-armv7 assmebly
logic into FreeBSD kernel, which uses clang as it's default compiler.
Note that this affect the build only if BSAES_ASM_EXTENDED_KEY is
defined, which is not the default option in OpenSSL.
The solution here is to replace it with an add instruction.
This mimics what has already been done in !BSAES_ASM_EXTENDED_KEY logic.
Because of that I've marked this as trivial CLA.
Signed-off-by: Kornel Dulęba <mindal at semihalf.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20458)
(cherry picked from commit 27093ba73372935fe4ef91d0a45ce6ea90a1ac8e)
More information about the openssl-commits