diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2019-09-13 19:36:18 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-10-05 01:06:06 +1000 |
commit | 2afc161d3d35b0cfb77c8fe5a63c5dd65c2ea79c (patch) | |
tree | eb724bee47f420f9c92cb0b7a8f4ddfb7f6ff4e1 /crypto/jitterentropy.c | |
parent | 26d95ef4a18943c428f7b52f6683df1cdff7d993 (diff) | |
download | linux-crypto-2afc161d3d35b0cfb77c8fe5a63c5dd65c2ea79c.tar.gz linux-crypto-2afc161d3d35b0cfb77c8fe5a63c5dd65c2ea79c.zip |
crypto: aegis128-neon - use Clang compatible cflags for ARM
The next version of Clang will start policing compiler command line
options, and will reject combinations of -march and -mfpu that it
thinks are incompatible.
This results in errors like
clang-10: warning: ignoring extension 'crypto' because the 'armv7-a'
architecture does not support it [-Winvalid-command-line-argument]
/tmp/aegis128-neon-inner-5ee428.s: Assembler messages:
/tmp/aegis128-neon-inner-5ee428.s:73: Error: selected
processor does not support `aese.8 q2,q14' in ARM mode
when buiding the SIMD aegis128 code for 32-bit ARM, given that the
'armv7-a' -march argument is considered to be compatible with the
ARM crypto extensions. Instead, we should use armv8-a, which does
allow the crypto extensions to be enabled.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/jitterentropy.c')
0 files changed, 0 insertions, 0 deletions