aes/asm/*-armv*.pl: compensate for inconsistencies in tool-chains.

Suggested by: Ard Biesheuvel
This commit is contained in:
Andy Polyakov 2013-10-01 20:33:06 +02:00
parent 70d416ec35
commit 066caf0551
2 changed files with 11 additions and 0 deletions

View File

@ -62,6 +62,11 @@ $code=<<___;
.code 32
#else
.syntax unified
# ifdef __thumb2__
.thumb
# else
.code 32
# endif
#endif
.type AES_Te,%object

View File

@ -652,6 +652,12 @@ $code.=<<___;
#if __ARM_ARCH__>=7
.text
.syntax unified @ ARMv7-capable assembler is expected to handle this
#ifdef __thumb2__
.thumb
#else
.code 32
#endif
.fpu neon
.type _bsaes_decrypt8,%function