x86_64-xlate.pl: remove old kludge.
PR: 2435,2440
This commit is contained in:
parent
f0729fc3e0
commit
bcf9cf89e7
@ -62,12 +62,8 @@ my $flavour = shift;
|
|||||||
my $output = shift;
|
my $output = shift;
|
||||||
if ($flavour =~ /\./) { $output = $flavour; undef $flavour; }
|
if ($flavour =~ /\./) { $output = $flavour; undef $flavour; }
|
||||||
|
|
||||||
{ my ($stddev,$stdino,@junk)=stat(STDOUT);
|
open STDOUT,">$output" || die "can't open $output: $!"
|
||||||
my ($outdev,$outino,@junk)=stat($output);
|
if (defined($output));
|
||||||
|
|
||||||
open STDOUT,">$output" || die "can't open $output: $!"
|
|
||||||
if ($stddev!=$outdev || $stdino!=$outino);
|
|
||||||
}
|
|
||||||
|
|
||||||
my $gas=1; $gas=0 if ($output =~ /\.asm$/);
|
my $gas=1; $gas=0 if ($output =~ /\.asm$/);
|
||||||
my $elf=1; $elf=0 if (!$gas);
|
my $elf=1; $elf=0 if (!$gas);
|
||||||
|
Loading…
Reference in New Issue
Block a user