From daa96141d31dbe6a6fadc6afc7cf9d1284d9bdd8 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. (cherry picked from commit 29be3f6411774e10169e60e1507df3d7c2e589df) --- 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.25.1