]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix arm64 asm code back compatible issue with gcc 4.9.4
authorXiaokang Qian <xiaokang.qian@arm.com>
Mon, 15 May 2023 09:14:39 +0000 (09:14 +0000)
committerPauli <pauli@openssl.org>
Wed, 31 May 2023 00:50:49 +0000 (10:50 +1000)
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)

crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl
crypto/sm3/asm/sm3-armv8.pl

index b9083be1ff9d16680ab5b2bee387a05e0b98471f..47b6c50fb1201693736f5934b595c48d2e98629c 100644 (file)
@@ -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";
index 729ca4fb31330ccb2c7684e2685792fabac5e1ce..56b4efd3bc608504951273ebd2f22edce8996ec3 100644 (file)
@@ -109,7 +109,6 @@ ___
 
 $code=<<___;
 #include "arm_arch.h"
-.arch  armv8.2-a
 .text
 ___