Skip to content

Commit

Permalink
chachap10-ppc.pl: Fix truncated relocation
Browse files Browse the repository at this point in the history
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 #23618)

(cherry picked from commit 1afb326)
  • Loading branch information
xicilion authored and t8m committed Feb 22, 2024
1 parent 36332d9 commit 76d3259
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crypto/chacha/asm/chachap10-ppc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ sub VSX_lane_ROUND_4x {
.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`
Expand Down

0 comments on commit 76d3259

Please sign in to comment.