diff options
author | 响马 <lion@9465.net> | 2024-02-18 06:57:57 +0800 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-02-22 13:13:04 +0100 |
commit | 226cadf9f4b2b3be13c69e542da14548f0257552 (patch) | |
tree | 9dc4bf21698728cbf6a08469d3f08f58af2c494f | |
parent | ec68e2ad1f1d3f27e882189a14a95ee3af5a60f1 (diff) |
chachap10-ppc.pl: Fix truncated relocation
Fix error: relocation truncated to fit: R_PPC64_REL14 (stub)
against symbol `ChaCha20_ctr32_vsx_8x'
CLA: trivial
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23618)
(cherry picked from commit 1afb326da4b3a781dc0d7cd91262d81126783b07)
-rwxr-xr-x | crypto/chacha/asm/chachap10-ppc.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/chacha/asm/chachap10-ppc.pl b/crypto/chacha/asm/chachap10-ppc.pl index 78cd4aed0d..54a1dd4590 100755 --- a/crypto/chacha/asm/chachap10-ppc.pl +++ b/crypto/chacha/asm/chachap10-ppc.pl @@ -170,7 +170,9 @@ $code.=<<___; .align 5 .ChaCha20_ctr32_vsx_p10: ${UCMP}i $len,255 - bgt ChaCha20_ctr32_vsx_8x + ble .Not_greater_than_8x + b ChaCha20_ctr32_vsx_8x +.Not_greater_than_8x: $STU $sp,-$FRAME($sp) mflr r0 li r10,`15+$LOCALS+64` |