mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 17:03:38 +00:00
Clear high word of %esp when returning from CallFrom16.
This commit is contained in:
parent
a88444e1b3
commit
d2ca108b34
|
@ -1836,7 +1836,7 @@ static void BuildCallFrom16Func( FILE *outfile, char *profile )
|
|||
fprintf( outfile, "\tdata16\n");
|
||||
#endif
|
||||
fprintf( outfile, "\t.byte 0x64\n\tmovw (%d),%%ss\n", STACKOFFSET + 2 );
|
||||
fprintf( outfile, "\t.byte 0x64\n\tmovw (%d),%%sp\n", STACKOFFSET );
|
||||
fprintf( outfile, "\t.byte 0x64\n\tmovzwl (%d),%%esp\n", STACKOFFSET );
|
||||
fprintf( outfile, "\t.byte 0x64\n\tpopl (%d)\n", STACKOFFSET );
|
||||
|
||||
if (reg_func)
|
||||
|
|
Loading…
Reference in a new issue