From: Andy Polyakov Date: Tue, 10 Nov 2015 20:57:22 +0000 (+0100) Subject: modes/asm/ghash-armv4.pl: make it compile by clang. RT#3989 X-Git-Tag: OpenSSL_1_0_2e~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48008008af2396d6b15e10d81156d26933d30233;p=thirdparty%2Fopenssl.git modes/asm/ghash-armv4.pl: make it compile by clang. RT#3989 Reviewed-by: Matt Caswell --- diff --git a/crypto/modes/asm/ghash-armv4.pl b/crypto/modes/asm/ghash-armv4.pl index 21f877a1f1f..8ccc963ef29 100644 --- a/crypto/modes/asm/ghash-armv4.pl +++ b/crypto/modes/asm/ghash-armv4.pl @@ -126,6 +126,11 @@ $code=<<___; .text .code 32 +#ifdef __clang__ +#define ldrplb ldrbpl +#define ldrneb ldrbne +#endif + .type rem_4bit,%object .align 5 rem_4bit: