summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-03-29 19:11:08 +0000
committerAndy Polyakov <appro@openssl.org>2012-03-29 19:11:08 +0000
commitb4ff166cbcc32e940c794ea704e4a5a8f9d9ed8b (patch)
tree4bd72eb8fb01885ad53e49fca682666a5e25ed2c /crypto/perlasm
parent861a0722c24c36a28540452729bd010e494438d8 (diff)
perlasm/x86masm.pl: fix last fix [from HEAD].
Diffstat (limited to 'crypto/perlasm')
-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