modes/asm/ghash-armv4.pl: make it compile by clang. RT#3989
authorAndy Polyakov <appro@openssl.org>
Tue, 10 Nov 2015 20:57:22 +0000 (21:57 +0100)
committerAndy Polyakov <appro@openssl.org>
Wed, 11 Nov 2015 21:12:28 +0000 (22:12 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/modes/asm/ghash-armv4.pl

index 21f877a1f1f2195ef6470ac59b61dfaa25783f42..8ccc963ef29729ff6babbc029cee75b314a5c518 100644 (file)
@@ -126,6 +126,11 @@ $code=<<___;
 .text
 .code  32
 
 .text
 .code  32
 
+#ifdef __clang__
+#define ldrplb ldrbpl
+#define ldrneb ldrbne
+#endif
+
 .type  rem_4bit,%object
 .align 5
 rem_4bit:
 .type  rem_4bit,%object
 .align 5
 rem_4bit: