From 48008008af2396d6b15e10d81156d26933d30233 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 10 Nov 2015 21:57:22 +0100 Subject: [PATCH] modes/asm/ghash-armv4.pl: make it compile by clang. RT#3989 Reviewed-by: Matt Caswell --- crypto/modes/asm/ghash-armv4.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crypto/modes/asm/ghash-armv4.pl b/crypto/modes/asm/ghash-armv4.pl index 21f877a1f1..8ccc963ef2 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: