summaryrefslogtreecommitdiffstats
path: root/crypto
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:54:00 +0200
commita80f76aff4e0be3f5738cf9b292f940dc06a0e2a (patch)
tree1fc45959088a59d23dd3f7c1ef9cda00c06fa571 /crypto
parentc7b9e7be89c987fbf065852d846ac4982a32941b (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) (cherry picked from commit ce5eb5e8149d8d03660575f4b8504c993851988a)
Diffstat (limited to 'crypto')
-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 7d880c94a7..426ef30a75 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: