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_0a~84 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=90ed28b7979954d075c4a58c083dee931205ef2e;p=oweals%2Fopenssl.git modes/asm/ghash-armv4.pl: improve interoperability with Android NDK. Reviewed-by: Tim Hudson (cherry picked from commit 6cf412c473d8145562b76219ce3da73b201b3255) --- 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