aes/asm/*-armv*.pl: compensate for inconsistencies in tool-chains.
Suggested by: Ard Biesheuvel
This commit is contained in:
parent
70d416ec35
commit
066caf0551
@ -62,6 +62,11 @@ $code=<<___;
|
|||||||
.code 32
|
.code 32
|
||||||
#else
|
#else
|
||||||
.syntax unified
|
.syntax unified
|
||||||
|
# ifdef __thumb2__
|
||||||
|
.thumb
|
||||||
|
# else
|
||||||
|
.code 32
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
.type AES_Te,%object
|
.type AES_Te,%object
|
||||||
|
@ -652,6 +652,12 @@ $code.=<<___;
|
|||||||
#if __ARM_ARCH__>=7
|
#if __ARM_ARCH__>=7
|
||||||
.text
|
.text
|
||||||
.syntax unified @ ARMv7-capable assembler is expected to handle this
|
.syntax unified @ ARMv7-capable assembler is expected to handle this
|
||||||
|
#ifdef __thumb2__
|
||||||
|
.thumb
|
||||||
|
#else
|
||||||
|
.code 32
|
||||||
|
#endif
|
||||||
|
|
||||||
.fpu neon
|
.fpu neon
|
||||||
|
|
||||||
.type _bsaes_decrypt8,%function
|
.type _bsaes_decrypt8,%function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user