Commit 216a2a5f authored by Andy Polyakov's avatar Andy Polyakov
Browse files

x86_64-xlate.pl: remove old kludge.

PR: 2435,2440
parent c2c60449
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -62,12 +62,8 @@ my $flavour = shift;
my $output  = shift;
if ($flavour =~ /\./) { $output = $flavour; undef $flavour; }

{ my ($stddev,$stdino,@junk)=stat(STDOUT);
  my ($outdev,$outino,@junk)=stat($output);

open STDOUT,">$output" || die "can't open $output: $!"
	if ($stddev!=$outdev || $stdino!=$outino);
}
	if (defined($output));

my $gas=1;	$gas=0 if ($output =~ /\.asm$/);
my $elf=1;	$elf=0 if (!$gas);