[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZsBMRzbjPvfnhYg3@gondor.apana.org.au>
Date: Sat, 17 Aug 2024 15:07:51 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Jia He <justin.he@....com>
Cc: Andy Polyakov <appro@...ptogams.org>,
"David S. Miller" <davem@...emloft.net>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, linux-crypto@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] crypto: arm64/poly1305 - move data to rodata section
On Tue, Aug 06, 2024 at 05:54:44AM +0000, Jia He wrote:
> 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 <justin.he@....com>
> ---
> v2:
> - use adrp+offset to avoid compilation error(kernel test bot and Andy)
> v1: https://lkml.org/lkml/2024/8/2/616
>
> arch/arm64/crypto/poly1305-armv8.pl | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists