提交 c6149e2f 编写于 作者: A Andy Polyakov

ppc-xlate.pl update.

上级 aa5c99fa
...@@ -7,7 +7,7 @@ open STDOUT,">$output" || die "can't open $output: $!"; ...@@ -7,7 +7,7 @@ open STDOUT,">$output" || die "can't open $output: $!";
my $flavour = $output; my $flavour = $output;
my %GLOBALS; my %GLOBALS;
my $dotinlocallabels=0; my $dotinlocallabels=($flavour=~/linux/)?1:0;
################################################################ ################################################################
# directives which need special treatment on different platforms # directives which need special treatment on different platforms
...@@ -29,7 +29,6 @@ my $globl = sub { ...@@ -29,7 +29,6 @@ my $globl = sub {
}; };
/linux.*32/ && do { $ret .= ".globl $name\n"; /linux.*32/ && do { $ret .= ".globl $name\n";
$ret .= ".type $name,\@function"; $ret .= ".type $name,\@function";
$dotinlocallabels = 1;
last; last;
}; };
/linux.*64/ && do { $ret .= ".globl .$name\n"; /linux.*64/ && do { $ret .= ".globl .$name\n";
...@@ -43,7 +42,6 @@ my $globl = sub { ...@@ -43,7 +42,6 @@ my $globl = sub {
$ret .= ".previous\n"; $ret .= ".previous\n";
$name = ".$name"; $name = ".$name";
$dotinlocallabels = 1;
last; last;
}; };
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册