aes/asm/aesni-sha256-x86_64.pl: fix Windows compilation failure with old assembler.
Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 82c4a079395223c0063100854a0981976db9848f)
This commit is contained in:
parent
eba8bf485a
commit
d3bb25e30a
@ -1499,13 +1499,13 @@ ___
|
|||||||
|
|
||||||
# EXCEPTION_DISPOSITION handler (EXCEPTION_RECORD *rec,ULONG64 frame,
|
# EXCEPTION_DISPOSITION handler (EXCEPTION_RECORD *rec,ULONG64 frame,
|
||||||
# CONTEXT *context,DISPATCHER_CONTEXT *disp)
|
# CONTEXT *context,DISPATCHER_CONTEXT *disp)
|
||||||
if ($win64) {
|
if ($win64 && $avx) {
|
||||||
$rec="%rcx";
|
$rec="%rcx";
|
||||||
$frame="%rdx";
|
$frame="%rdx";
|
||||||
$context="%r8";
|
$context="%r8";
|
||||||
$disp="%r9";
|
$disp="%r9";
|
||||||
|
|
||||||
$code.=<<___ if ($avx);
|
$code.=<<___;
|
||||||
.extern __imp_RtlVirtualUnwind
|
.extern __imp_RtlVirtualUnwind
|
||||||
.type se_handler,\@abi-omnipotent
|
.type se_handler,\@abi-omnipotent
|
||||||
.align 16
|
.align 16
|
||||||
@ -1643,7 +1643,7 @@ $code.=<<___ if ($shaext);
|
|||||||
.rva .LSEH_end_${func}_shaext
|
.rva .LSEH_end_${func}_shaext
|
||||||
.rva .LSEH_info_${func}_shaext
|
.rva .LSEH_info_${func}_shaext
|
||||||
___
|
___
|
||||||
$code.=<<___ if ($avx);
|
$code.=<<___;
|
||||||
.section .xdata
|
.section .xdata
|
||||||
.align 8
|
.align 8
|
||||||
.LSEH_info_${func}_xop:
|
.LSEH_info_${func}_xop:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user