From bc4ae2cb0b8cf04b64ac91a546439d20926ba569 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Fri, 1 Mar 2013 21:43:10 +0100 Subject: [PATCH] x86_64-gf2m.pl: add missing Windows build fix for #2963. PR: 3004 (cherry picked from commit 7c43601d4424575d589f028aed0d5a4ae337527f) --- crypto/bn/asm/x86_64-gf2m.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); -- 2.25.1