[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200306015235.GO30653@gondor.apana.org.au>
Date: Fri, 6 Mar 2020 12:52:35 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Stefan Agner <stefan@...er.ch>
Cc: davem@...emloft.net, linux@...linux.org.uk, manojgupta@...gle.com,
jiancai@...gle.com, linux-crypto@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] crypto: arm/ghash-ce - define fpu before fpu registers
are referenced
On Mon, Mar 02, 2020 at 12:37:14AM +0100, Stefan Agner wrote:
> Building ARMv7 with Clang's integrated assembler leads to errors such
> as:
> arch/arm/crypto/ghash-ce-core.S:34:11: error: register name expected
> t3l .req d16
> ^
>
> Since no FPU has selected yet Clang considers d16 not a valid register.
> Moving the FPU directive on-top allows Clang to parse the registers and
> allows to successfully build this file with Clang's integrated assembler.
>
> Signed-off-by: Stefan Agner <stefan@...er.ch>
> ---
> arch/arm/crypto/ghash-ce-core.S | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
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