Skip to content

Commit 1fb1683

Browse files
Ard Biesheuvelherbertx
authored andcommitted
crypto: arm/crc32 - fix build error with outdated binutils
Annotate a vmov instruction with an explicit element size of 32 bits. This is inferred by recent toolchains, but apparently, older versions need some help figuring this out. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 3b30460 commit 1fb1683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/crypto/crc32-ce-core.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ ENTRY(crc32c_pmull_le)
135135
vld1.8 {q3-q4}, [BUF, :128]!
136136
vmov.i8 qzr, #0
137137
vmov.i8 qCONSTANT, #0
138-
vmov dCONSTANTl[0], CRC
138+
vmov.32 dCONSTANTl[0], CRC
139139
veor.8 d2, d2, dCONSTANTl
140140
sub LEN, LEN, #0x40
141141
cmp LEN, #0x40

0 commit comments

Comments
 (0)