openssl: add ppc64 support
authorStijn Tintel <stijn@linux-ipv6.be>
Fri, 30 Jul 2021 17:21:50 +0000 (20:21 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 21 Dec 2021 19:36:38 +0000 (21:36 +0200)
commitac8673ff85fe334913382b5cabb6cf3079b91e24
tree5347c14d81f20dfe4de55db4d0fec0f151ed738f
parent6e2556963d523ecef9a2a6130c899d146a3b7333
openssl: add ppc64 support

Backport an upstream patch that adds support for ELFv2 ABI on big endian
ppc64. As musl only supports ELFv2 ABI on ppc64 regardless of
endianness, this is required to be able to build OpenSSL for ppc64be.

Modify our targets patch to add linux-powerpc64-openwrt, which will use
the linux64v2 perlasm scheme. This will probably break the combination
ppc64 with glibc, but as we really only want to support musl, this
shouldn't be a problem.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rui Salvaterra <rsalvaterra@gmail.com>
package/libs/openssl/Makefile
package/libs/openssl/patches/001-crypto-perlasm-ppc-xlate.pl-add-linux64v2-flavour.patch [new file with mode: 0644]
package/libs/openssl/patches/110-openwrt_targets.patch