sha512-x86_64.pl: fix linking problem under Windows.

This commit is contained in:
Andy Polyakov 2014-07-01 17:11:22 +02:00
parent 70857a4a00
commit 29be3f6411

View File

@ -2262,7 +2262,9 @@ $code.=<<___;
pop %rsi pop %rsi
ret ret
.size se_handler,.-se_handler .size se_handler,.-se_handler
___
$code.=<<___ if ($SZ==4 && $shaext);
.type shaext_handler,\@abi-omnipotent .type shaext_handler,\@abi-omnipotent
.align 16 .align 16
shaext_handler: shaext_handler:
@ -2295,7 +2297,9 @@ shaext_handler:
jmp .Lin_prologue jmp .Lin_prologue
.size shaext_handler,.-shaext_handler .size shaext_handler,.-shaext_handler
___
$code.=<<___;
.section .pdata .section .pdata
.align 4 .align 4
.rva .LSEH_begin_$func .rva .LSEH_begin_$func