diff options
author | Kenny Root <kroot@google.com> | 2015-04-18 14:27:55 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2015-04-18 14:27:55 -0700 |
commit | d18b6331a1802438e5d37fb2a397ae766dbdeb53 (patch) | |
tree | 1607ee5b147735bd30e335970a782ce18b5a52fc /linux-aarch64/crypto/aes | |
parent | 49977fa7e3048d41518223b704c90f1b82588904 (diff) | |
download | external_boringssl-d18b6331a1802438e5d37fb2a397ae766dbdeb53.zip external_boringssl-d18b6331a1802438e5d37fb2a397ae766dbdeb53.tar.gz external_boringssl-d18b6331a1802438e5d37fb2a397ae766dbdeb53.tar.bz2 |
Use a different arch feature indicator for clang
Clang doesn't currently understand the ".arch armv8-a+crypto" syntax and
instead requires the specification of ".arch_extension" to enable the
crypto functionality.
Change-Id: Ib7bab562055e7c7925a47030044479ec172d0a34
Diffstat (limited to 'linux-aarch64/crypto/aes')
-rw-r--r-- | linux-aarch64/crypto/aes/aesv8-armx.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-aarch64/crypto/aes/aesv8-armx.S b/linux-aarch64/crypto/aes/aesv8-armx.S index 0a4b1ac..e3d4666 100644 --- a/linux-aarch64/crypto/aes/aesv8-armx.S +++ b/linux-aarch64/crypto/aes/aesv8-armx.S @@ -2,7 +2,12 @@ #if __ARM_MAX_ARCH__>=7 .text +#ifdef __clang__ +.arch armv8-a +.arch_extension crypto +#else .arch armv8-a+crypto +#endif .align 5 rcon: .long 0x01,0x01,0x01,0x01 |