summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-03-29 18:11:21 +0000
committerAndy Polyakov <appro@openssl.org>2012-03-29 18:11:21 +0000
commit8c67b13407b06dd9d2c3449356e9348925e79d0c (patch)
tree29435050d1c122923b01fe8336a12f0b1abf4aef
parent2a477ccf0bb4e6babc4e66c5e94574d8df1e7d3b (diff)
perlasm/x86masm.pl: fix last fix [from HEAD].
-rw-r--r--crypto/perlasm/x86masm.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/perlasm/x86masm.pl b/crypto/perlasm/x86masm.pl
index 3af045396e..96b1b73e1a 100644
--- 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