x86_64 assembly pack: make Windows build more robust [from master].

PR: 2963 and a number of others
This commit is contained in:
Andy Polyakov
2013-01-22 22:11:31 +01:00
parent 25917e972d
commit 3f233a1e77
16 changed files with 32 additions and 16 deletions

View File

@@ -50,7 +50,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;
# common register layout
$nlo="%rax";