summaryrefslogtreecommitdiffstats
path: root/crypto/modes/asm/ghash-armv4.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2016-08-27 20:22:03 +0200
committerAndy Polyakov <appro@openssl.org>2016-09-03 10:41:52 +0200
commit6cf412c473d8145562b76219ce3da73b201b3255 (patch)
treee5ec3b47fe15f213e0f9ed1c516edbfe35ff8721 /crypto/modes/asm/ghash-armv4.pl
parentConfigure: clarify and refine -static. (diff)
downloadopenssl-6cf412c473d8145562b76219ce3da73b201b3255.tar.xz
openssl-6cf412c473d8145562b76219ce3da73b201b3255.zip
modes/asm/ghash-armv4.pl: improve interoperability with Android NDK.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/modes/asm/ghash-armv4.pl')
-rw-r--r--crypto/modes/asm/ghash-armv4.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/modes/asm/ghash-armv4.pl b/crypto/modes/asm/ghash-armv4.pl
index db56c85928..7d880c94a7 100644
--- a/crypto/modes/asm/ghash-armv4.pl
+++ b/crypto/modes/asm/ghash-armv4.pl
@@ -143,8 +143,10 @@ $code=<<___;
#include "arm_arch.h"
.text
-#if defined(__thumb2__)
+#if defined(__thumb2__) || defined(__clang__)
.syntax unified
+#endif
+#if defined(__thumb2__)
.thumb
#else
.code 32