Add support for BSD-ppc, BSD-ppc64 and BSD-ppc64le configurations
authorpkubaj <pkubaj@FreeBSD.org>
Sat, 20 Nov 2021 20:40:06 +0000 (20:40 +0000)
committerPauli <pauli@openssl.org>
Thu, 9 Dec 2021 05:07:14 +0000 (16:07 +1100)
commitf5485b97b6c9977c0d39c7669b9f97a879312447
tree90e0d70744ee292114bfbfd0693c5cc9cd0c855a
parentf4f77c2d9756cee12875397276799a93f057d412
Add support for BSD-ppc, BSD-ppc64 and BSD-ppc64le configurations

OpenSSL assumes AT_HWCAP = 16 (as on Linux), but on FreeBSD AT_HWCAP = 25
Switch to using AT_HWCAP, and setting it to 16 if it is not defined.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17090)
Configurations/10-main.conf
Configure
crypto/ppccap.c
util/perl/OpenSSL/config.pm