aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/perlasm/x86masm.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-03-29 18:09:36 +0000
committerAndy Polyakov <appro@openssl.org>2012-03-29 18:09:36 +0000
commitee743dca53055e5c213ccc9ea7fbfbd8871a2e64 (patch)
tree04c8140bfebaf3c88d5523b8e47a6609aa8850cd /crypto/perlasm/x86masm.pl
parent6da165c631f735f551da074d4d9c32b93fe9ed22 (diff)
downloadopenssl-ee743dca53055e5c213ccc9ea7fbfbd8871a2e64.tar.gz
perlasm/x86masm.pl: fix last fix.
Diffstat (limited to 'crypto/perlasm/x86masm.pl')
-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 328ca2e23f..f937d07c87 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