summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-06-29 17:48:54 +0200
committerAndy Polyakov <appro@openssl.org>2018-07-01 11:51:44 +0200
commitce5eb5e8149d8d03660575f4b8504c993851988a (patch)
tree95d2c92b7707d7ada0008888401a78c8cb334629
parenta091e212fc55244fe03a4c7db7d8978c5b5014cb (diff)
modes/asm/ghash-armv4.pl: address "infixes are deprecated" warnings.
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6615)
-rw-r--r--crypto/modes/asm/ghash-armv4.pl7
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto/modes/asm/ghash-armv4.pl b/crypto/modes/asm/ghash-armv4.pl
index 9cc072e7c1..9d8c98835c 100644
--- a/crypto/modes/asm/ghash-armv4.pl
+++ b/crypto/modes/asm/ghash-armv4.pl
@@ -145,6 +145,8 @@ $code=<<___;
.text
#if defined(__thumb2__) || defined(__clang__)
.syntax unified
+#define ldrplb ldrbpl
+#define ldrneb ldrbne
#endif
#if defined(__thumb2__)
.thumb
@@ -152,11 +154,6 @@ $code=<<___;
.code 32
#endif
-#ifdef __clang__
-#define ldrplb ldrbpl
-#define ldrneb ldrbne
-#endif
-
.type rem_4bit,%object
.align 5
rem_4bit: