perlasm/x86[nm]asm.pl: make OPENSSL_instrument_bus[2] compile.

This commit is contained in:
Andy Polyakov
2011-04-18 20:18:03 +00:00
parent 5f1b10ed2e
commit 70d01a7f82
2 changed files with 3 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ sub ::generic
{ $_[0] = "NEAR $_[0]"; }
elsif ($opcode eq "lea" && $#_==1) # wipe storage qualifier from lea
{ $_[1] =~ s/^[^\[]*\[/\[/o; }
elsif ($opcode eq "clflush" && $#_==0)
{ $_[0] =~ s/^[^\[]*\[/\[/o; }
}
&::emit($opcode,@_);
1;