projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d2cf5
)
x86gas.pl: update from HEAD.
author
Andy Polyakov
<appro@openssl.org>
Mon, 4 Jun 2012 22:14:25 +0000
(22:14 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 4 Jun 2012 22:14:25 +0000
(22:14 +0000)
crypto/perlasm/x86gas.pl
patch
|
blob
|
history
diff --git
a/crypto/perlasm/x86gas.pl
b/crypto/perlasm/x86gas.pl
index 682a3a3163e2566c7b849cd7cd1ece10cd7b6aef..4b8786bf42f9049a2925bac4cf313b6881b7c75b 100644
(file)
--- a/
crypto/perlasm/x86gas.pl
+++ b/
crypto/perlasm/x86gas.pl
@@
-170,10
+170,9
@@
sub ::data_short{ push(@out,".value\t".join(',',@_)."\n"); }
sub ::data_word { push(@out,".long\t".join(',',@_)."\n"); }
sub ::align
-{ my $val=$_[0]
,$p2,$i
;
+{ my $val=$_[0];
if ($::aout)
- { for ($p2=0;$val!=0;$val>>=1) { $p2++; }
- $val=$p2-1;
+ { $val=int(log($val)/log(2));
$val.=",0x90";
}
push(@out,".align\t$val\n");