]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
ec: Use .machine "any" explicitly in ecp_nistp521-ppc64
authorRobin Lee <robinlee.sysu@gmail.com>
Sun, 26 Feb 2023 05:56:14 +0000 (13:56 +0800)
committerPauli <pauli@openssl.org>
Tue, 28 Feb 2023 22:19:08 +0000 (09:19 +1100)
Since GCC commit e154242724b084380e3221df7c08fcdbd8460674 the flag "-many"
is sometimes not passed to the assembler. Use .machine "any" just like
ecp_nistz256-ppc64 to prevent compile errors when built with some
configurations of GCC.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20378)

crypto/ec/asm/ecp_nistp521-ppc64.pl

index 4260e24a1f577de64eb6ffbe77bab55d0aa8f7a0..f8393e465d15b96d4ad1300831e505caf90fa4ef 100755 (executable)
@@ -140,6 +140,7 @@ ___
 }
 
 $code.=<<___;
+.machine       "any"
 .text
 
 ___