diff options
author | Andy Polyakov <appro@openssl.org> | 2012-03-29 19:11:08 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-03-29 19:11:08 +0000 |
commit | b4ff166cbcc32e940c794ea704e4a5a8f9d9ed8b (patch) | |
tree | 4bd72eb8fb01885ad53e49fca682666a5e25ed2c /crypto/perlasm | |
parent | 861a0722c24c36a28540452729bd010e494438d8 (diff) |
perlasm/x86masm.pl: fix last fix [from HEAD].
Diffstat (limited to 'crypto/perlasm')
-rw-r--r-- | crypto/perlasm/x86masm.pl | 2 |
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 |