From: Andy Polyakov Date: Tue, 1 Jul 2014 15:11:22 +0000 (+0200) Subject: sha512-x86_64.pl: fix linking problem under Windows. X-Git-Tag: OpenSSL_1_0_2-beta2~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daa96141d31dbe6a6fadc6afc7cf9d1284d9bdd8;p=openssl sha512-x86_64.pl: fix linking problem under Windows. (cherry picked from commit 29be3f6411774e10169e60e1507df3d7c2e589df) --- 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