Start disentangling armv7 and aarch64 code
authortb <tb@openbsd.org>
Wed, 23 Mar 2022 15:13:31 +0000 (15:13 +0000)
committertb <tb@openbsd.org>
Wed, 23 Mar 2022 15:13:31 +0000 (15:13 +0000)
commitd45a68f6d63425963cefc3360156e20f9de2ceaa
treebcea025ca1adeefbeb4e766afef8b9fe2b340c55
parentcaf74eed9a6d79231a0c119374dfbe702384eba5
Start disentangling armv7 and aarch64 code

arm_arch.h and armcap.c are shared between armv7 and aarch64 which
results in an inscrutable #ifdef maze. Move copies of these files
into arch/{arm,aarch64}/ with appropriate names and some trivial
minor adjustments.

ok deraadt inoguchi kettenis
12 files changed:
lib/libcrypto/Makefile
lib/libcrypto/arch/aarch64/Makefile.inc
lib/libcrypto/arch/aarch64/arm64_arch.h [new file with mode: 0644]
lib/libcrypto/arch/aarch64/arm64cap.c [new file with mode: 0644]
lib/libcrypto/arch/aarch64/arm64cpuid.S [new file with mode: 0644]
lib/libcrypto/arch/arm/arm_arch.h [new file with mode: 0644]
lib/libcrypto/arch/arm/armcap.c [new file with mode: 0644]
lib/libcrypto/arch/arm/armv4cpuid.S [new file with mode: 0644]
lib/libcrypto/arm64cpuid.S [deleted file]
lib/libcrypto/arm_arch.h [deleted file]
lib/libcrypto/armcap.c [deleted file]
lib/libcrypto/armv4cpuid.S [deleted file]