summaryrefslogtreecommitdiffstats
path: root/linux-aarch64
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-04-18 19:07:35 -0700
committerAdam Langley <agl@google.com>2015-04-18 19:09:59 -0700
commiteef60be96fb91dc632a18173b4a4f21e9813aba7 (patch)
tree3aa14dddb3cd83f10f517f1854028082621058ce /linux-aarch64
parentdc5ad20a799d19a4c8b2531ddae7489d87de7db2 (diff)
downloadexternal_boringssl-eef60be96fb91dc632a18173b4a4f21e9813aba7.zip
external_boringssl-eef60be96fb91dc632a18173b4a4f21e9813aba7.tar.gz
external_boringssl-eef60be96fb91dc632a18173b4a4f21e9813aba7.tar.bz2
external/boringssl: try to fix aarch64+Clang.
It appears that the version of Clang in Android doesn't support the .arch_extension directive. This change removes the .arch and .arch_extension lines (because they are triggering errors) and adds a -march option on the command line instead. The aarch64+Clang build is still broken with this change, but it's broken in binder rather than BoringSSL with it. Change-Id: I32c557bdfde4df66d26794ccdd650356f2bbaf8f
Diffstat (limited to 'linux-aarch64')
-rw-r--r--linux-aarch64/crypto/aes/aesv8-armx.S5
-rw-r--r--linux-aarch64/crypto/modes/ghashv8-armx.S5
2 files changed, 2 insertions, 8 deletions
diff --git a/linux-aarch64/crypto/aes/aesv8-armx.S b/linux-aarch64/crypto/aes/aesv8-armx.S
index e3d4666..e7ae46f 100644
--- a/linux-aarch64/crypto/aes/aesv8-armx.S
+++ b/linux-aarch64/crypto/aes/aesv8-armx.S
@@ -2,10 +2,7 @@
#if __ARM_MAX_ARCH__>=7
.text
-#ifdef __clang__
-.arch armv8-a
-.arch_extension crypto
-#else
+#if !defined(__clang__)
.arch armv8-a+crypto
#endif
.align 5
diff --git a/linux-aarch64/crypto/modes/ghashv8-armx.S b/linux-aarch64/crypto/modes/ghashv8-armx.S
index 2da617f..565146e 100644
--- a/linux-aarch64/crypto/modes/ghashv8-armx.S
+++ b/linux-aarch64/crypto/modes/ghashv8-armx.S
@@ -1,10 +1,7 @@
#include "arm_arch.h"
.text
-#ifdef __clang__
-.arch armv8-a
-.arch_extension crypto
-#else
+#if !defined(__clang__)
.arch armv8-a+crypto
#endif
.global gcm_init_v8