From: Andy Polyakov Date: Fri, 1 Mar 2013 20:43:10 +0000 (+0100) Subject: x86_64-gf2m.pl: add missing Windows build fix for #2963. X-Git-Tag: OpenSSL_1_0_1f~82^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc4ae2cb0b8cf04b64ac91a546439d20926ba569;p=oweals%2Fopenssl.git x86_64-gf2m.pl: add missing Windows build fix for #2963. PR: 3004 (cherry picked from commit 7c43601d4424575d589f028aed0d5a4ae337527f) --- diff --git a/crypto/bn/asm/x86_64-gf2m.pl b/crypto/bn/asm/x86_64-gf2m.pl index a30d4ef029..bbc66ed3cf 100644 --- a/crypto/bn/asm/x86_64-gf2m.pl +++ b/crypto/bn/asm/x86_64-gf2m.pl @@ -31,7 +31,8 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or die "can't locate x86_64-xlate.pl"; -open STDOUT,"| \"$^X\" $xlate $flavour $output"; +open OUT,"| \"$^X\" $xlate $flavour $output"; +STDOUT=*OUT; ($lo,$hi)=("%rax","%rdx"); $a=$lo; ($i0,$i1)=("%rsi","%rdi");