[PATCH v2] crypto: arm64/poly1305 - move data to rodata section
Andy Polyakov
appro at cryptogams.org
Tue Aug 6 06:28:25 PDT 2024
> I'm getting the following error with next-20240806
>
> make LLVM=1 ARCH=arm64 allyesconfig
> make LLVM=1 ARCH=arm64 -j$(nproc)
>
> ld.lld: error: vmlinux.a(arch/arm64/crypto/poly1305-core.o):(function poly1305_blocks_neon: .text+0x3d4): relocation R_AARCH64_ADR_PREL_LO21 out of range: 269166444 is not in [-1048576, 1048575]
This looks like the original version of the path. At the very least the
R_AARCH64_ADR_PREL_LO21 relocation is generated for the adr instruction.
The v2 has adrp and add pair for which the relocations are
R_AARCH64_ADR_PREL_PG_HI21 and R_AARCH64_ADD_ABS_LO12_NC.
More information about the linux-arm-kernel
mailing list