summaryrefslogtreecommitdiff
path: root/linux-arm
diff options
context:
space:
mode:
Diffstat (limited to 'linux-arm')
-rw-r--r--linux-arm/crypto/chacha/chacha-armv4.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-arm/crypto/chacha/chacha-armv4.S b/linux-arm/crypto/chacha/chacha-armv4.S
index 0784fc71..6c947734 100644
--- a/linux-arm/crypto/chacha/chacha-armv4.S
+++ b/linux-arm/crypto/chacha/chacha-armv4.S
@@ -2,8 +2,10 @@
#include <openssl/arm_arch.h>
.text
-#if defined(__thumb2__)
+#if defined(__thumb2__) || defined(__clang__)
.syntax unified
+#endif
+#if defined(__thumb2__)
.thumb
#else
.code 32