From: Andy Polyakov Date: Sat, 27 Aug 2016 18:22:03 +0000 (+0200) Subject: modes/asm/ghash-armv4.pl: improve interoperability with Android NDK. X-Git-Tag: OpenSSL_1_1_1-pre1~3593 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=6cf412c473d8145562b76219ce3da73b201b3255;ds=sidebyside modes/asm/ghash-armv4.pl: improve interoperability with Android NDK. Reviewed-by: Tim Hudson --- 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