x86gas.pl: update from HEAD.
This commit is contained in:
parent
68d2cf51bc
commit
6fba65e20d
1 changed files with 2 additions and 3 deletions
|
@ -170,10 +170,9 @@ sub ::data_short{ push(@out,".value\t".join(',',@_)."\n"); }
|
||||||
sub ::data_word { push(@out,".long\t".join(',',@_)."\n"); }
|
sub ::data_word { push(@out,".long\t".join(',',@_)."\n"); }
|
||||||
|
|
||||||
sub ::align
|
sub ::align
|
||||||
{ my $val=$_[0],$p2,$i;
|
{ my $val=$_[0];
|
||||||
if ($::aout)
|
if ($::aout)
|
||||||
{ for ($p2=0;$val!=0;$val>>=1) { $p2++; }
|
{ $val=int(log($val)/log(2));
|
||||||
$val=$p2-1;
|
|
||||||
$val.=",0x90";
|
$val.=",0x90";
|
||||||
}
|
}
|
||||||
push(@out,".align\t$val\n");
|
push(@out,".align\t$val\n");
|
||||||
|
|
Loading…
Reference in a new issue