mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
perlasm/x86masm.pl: fix last fix.
This commit is contained in:
parent
6da165c631
commit
ee743dca53
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user