mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
Clear high word of %esp when returning from CallFrom16.
This commit is contained in:
parent
a88444e1b3
commit
d2ca108b34
1 changed files with 1 additions and 1 deletions
|
@ -1836,7 +1836,7 @@ static void BuildCallFrom16Func( FILE *outfile, char *profile )
|
||||||
fprintf( outfile, "\tdata16\n");
|
fprintf( outfile, "\tdata16\n");
|
||||||
#endif
|
#endif
|
||||||
fprintf( outfile, "\t.byte 0x64\n\tmovw (%d),%%ss\n", STACKOFFSET + 2 );
|
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 );
|
fprintf( outfile, "\t.byte 0x64\n\tpopl (%d)\n", STACKOFFSET );
|
||||||
|
|
||||||
if (reg_func)
|
if (reg_func)
|
||||||
|
|
Loading…
Reference in a new issue