summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-07-01 17:11:22 +0200
committerAndy Polyakov <appro@openssl.org>2014-07-01 17:11:22 +0200
commit29be3f6411774e10169e60e1507df3d7c2e589df (patch)
tree791033f70992ffb4bea05117a3bf9e877002f71d
parent70857a4a004dd10345e6c8397734bda4dc4bdad7 (diff)
downloadopenssl-new-29be3f6411774e10169e60e1507df3d7c2e589df.tar.gz
sha512-x86_64.pl: fix linking problem under Windows.
-rwxr-xr-xcrypto/sha/asm/sha512-x86_64.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/sha/asm/sha512-x86_64.pl b/crypto/sha/asm/sha512-x86_64.pl
index aec7b4568c..9941da93e2 100755
--- a/crypto/sha/asm/sha512-x86_64.pl
+++ b/crypto/sha/asm/sha512-x86_64.pl
@@ -2262,7 +2262,9 @@ $code.=<<___;
pop %rsi
ret
.size se_handler,.-se_handler
+___
+$code.=<<___ if ($SZ==4 && $shaext);
.type shaext_handler,\@abi-omnipotent
.align 16
shaext_handler:
@@ -2295,7 +2297,9 @@ shaext_handler:
jmp .Lin_prologue
.size shaext_handler,.-shaext_handler
+___
+$code.=<<___;
.section .pdata
.align 4
.rva .LSEH_begin_$func