sha/asm/keccak1600-x86_64.pl: make it work on Windows.
authorAndy Polyakov <appro@openssl.org>
Sun, 22 Apr 2018 10:48:56 +0000 (12:48 +0200)
committerAndy Polyakov <appro@openssl.org>
Mon, 23 Apr 2018 15:27:31 +0000 (17:27 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6042)

crypto/sha/asm/keccak1600-x86_64.pl

index 94c9c10f88eee6ff72e629a7ffa27a1ce70b4bbe..e24b5754ac4d8fb2e5bf9b6eca5c14d74438f0e0 100755 (executable)
@@ -81,7 +81,7 @@ my @rhotates = ([  0,  1, 62, 28, 27 ],
 $code.=<<___;
 .text
 
-.type  __KeccakF1600,\@function
+.type  __KeccakF1600,\@abi-omnipotent
 .align 32
 __KeccakF1600:
        mov     $A[4][0](%rdi),@C[0]
@@ -345,7 +345,7 @@ $code.=<<___;
 .size  __KeccakF1600,.-__KeccakF1600
 
 .globl KeccakF1600
-.type  KeccakF1600,\@function
+.type  KeccakF1600,\@abi-omnipotent
 .align 32
 KeccakF1600:
 .cfi_startproc
@@ -410,7 +410,7 @@ ___
      ($A_flat,$inp) = ("%r8","%r9");
 $code.=<<___;
 .globl SHA3_absorb
-.type  SHA3_absorb,\@function
+.type  SHA3_absorb,\@function,4
 .align 32
 SHA3_absorb:
 .cfi_startproc
@@ -505,7 +505,7 @@ ___
 
 $code.=<<___;
 .globl SHA3_squeeze
-.type  SHA3_squeeze,\@function
+.type  SHA3_squeeze,\@function,4
 .align 32
 SHA3_squeeze:
 .cfi_startproc