diff options
author | 2022-06-29 11:02:27 -0700 | |
---|---|---|
committer | 2022-07-02 16:28:52 +0200 | |
commit | 572cc34503d482172071c2ca2800fa79eb390289 (patch) | |
tree | 14cf0f3a42310b82ecd18dd9ec4a4e9a1b27c4d3 /Documentation | |
parent | crypto: arm - use Kconfig based compiler checks for crypto opcodes (diff) | |
download | wireguard-linux-572cc34503d482172071c2ca2800fa79eb390289.tar.xz wireguard-linux-572cc34503d482172071c2ca2800fa79eb390289.zip |
crypto: arm/ghash-ce - define fpu before fpu registers are referenced
commit 7548bf8c17d84607c106bd45d81834afd95a2edb upstream
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@agner.ch>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions