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:
861a072
)
perlasm/x86masm.pl: fix last fix [from HEAD].
author
Andy Polyakov
<appro@openssl.org>
Thu, 29 Mar 2012 19:11:08 +0000
(19:11 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Thu, 29 Mar 2012 19:11:08 +0000
(19:11 +0000)
crypto/perlasm/x86masm.pl
patch
|
blob
|
history
diff --git
a/crypto/perlasm/x86masm.pl
b/crypto/perlasm/x86masm.pl
index 3af045396e57851299d90099443f429d62266cf3..96b1b73e1a3a25d8612da13196e637eeed4c566a 100644
(file)
--- a/
crypto/perlasm/x86masm.pl
+++ b/
crypto/perlasm/x86masm.pl
@@
-16,7
+16,7
@@
sub ::generic
# fix hexadecimal constants
for (@arg) { s/(?<![\w\$\.])0x([0-9a-f]+)/0$1h/oi; }
- if ($opcode =~ /lea/ && @arg[1] =~ s/.*PTR\s+(
[^\[]+)$/$1/)
# no []
+ if ($opcode =~ /lea/ && @arg[1] =~ s/.*PTR\s+(
\(.*\))$/OFFSET $1/)
# no []
{ $opcode="mov"; }
elsif ($opcode !~ /movq/)
{ # fix xmm references