HomeFreeBSD

OpenSSL: aes/asm/bsaes-armv7.pl: Replace adrl with add

Description

OpenSSL: 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.

No objections from: jkim
Obtained from: OpenSSL commit 27093ba73372935fe4ef91d0a45ce6ea90a1ac8e
Differential Revision: https://reviews.freebsd.org/D39091

Details

Provenance
kdAuthored on Mar 21 2023, 5:18 PM
Differential Revision
D39091: OpenSSL: aes/asm/bsaes-armv7.pl: Replace adrl with add
Parents
rGa74998f38a2e: netlink: reduce the default debugging levels
Branches
Unknown
Tags
Unknown