From 29be3f6411774e10169e60e1507df3d7c2e589df Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 1 Jul 2014 17:11:22 +0200 Subject: [PATCH] sha512-x86_64.pl: fix linking problem under Windows. --- crypto/sha/asm/sha512-x86_64.pl | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.40.0