diff options
author | Xiaokang Qian <xiaokang.qian@arm.com> | 2023-05-15 09:14:39 +0000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-05-31 10:50:49 +1000 |
commit | dd04d7c05b081aab1383efd944aea4e129921a8f (patch) | |
tree | 4d6260f23bd69fc875b7712f0dd70c9623c7bdc7 /crypto | |
parent | 74b486e8f852fc9ef332698159b2b789b7e06ee0 (diff) |
Fix arm64 asm code back compatible issue with gcc 4.9.4
Fix: #20963
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20967)
(cherry picked from commit 09bd0d05a6ab9eb4965763c100edf9b86ae03d2b)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl | 2 | ||||
-rw-r--r-- | crypto/sm3/asm/sm3-armv8.pl | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl b/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl index b9083be1ff..47b6c50fb1 100644 --- a/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl +++ b/crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl @@ -174,7 +174,7 @@ $code=<<___; #if __ARM_MAX_ARCH__>=8 ___ -$code.=".arch armv8.2-a+crypto\n.text\n"; +$code.=".arch armv8-a+crypto\n.text\n"; $input_ptr="x0"; #argument block $bit_length="x1"; diff --git a/crypto/sm3/asm/sm3-armv8.pl b/crypto/sm3/asm/sm3-armv8.pl index 729ca4fb31..56b4efd3bc 100644 --- a/crypto/sm3/asm/sm3-armv8.pl +++ b/crypto/sm3/asm/sm3-armv8.pl @@ -109,7 +109,6 @@ ___ $code=<<___; #include "arm_arch.h" -.arch armv8.2-a .text ___ |