aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJia He <[email protected]>2024-08-06 05:54:44 +0000
committerHerbert Xu <[email protected]>2024-08-17 05:55:49 +0000
commit9369693a2c8f4832f6cdc8a94cc63cc7f7f9c96c (patch)
tree3b72868f91f50da7566c457ca88d8059f69b13d6 /lib/crypto/mpi/mpiutil.c
parentcrypto: chacha20poly1305 - Annotate struct chachapoly_ctx with __counted_by() (diff)
downloadkernel-9369693a2c8f4832f6cdc8a94cc63cc7f7f9c96c.tar.gz
kernel-9369693a2c8f4832f6cdc8a94cc63cc7f7f9c96c.zip
crypto: arm64/poly1305 - move data to rodata section
When objtool gains support for ARM in the future, it may encounter issues disassembling the following data in the .text section: > .Lzeros: > .long 0,0,0,0,0,0,0,0 > .asciz "Poly1305 for ARMv8, CRYPTOGAMS by \@dot-asm" > .align 2 Move it to .rodata which is a more appropriate section for read-only data. There is a limit on how far the label can be from the instruction, hence use "adrp" and low 12bits offset of the label to avoid the compilation error. Signed-off-by: Jia He <[email protected]> Tested-by: Daniel Gomez <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions