sha512-x86_64.pl: fix linking problem under Windows.
authorAndy Polyakov <appro@openssl.org>
Tue, 1 Jul 2014 15:11:22 +0000 (17:11 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 1 Jul 2014 15:11:22 +0000 (17:11 +0200)
crypto/sha/asm/sha512-x86_64.pl

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