Commit e00b4582 authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Properly restore %rax and %rbx in call_from_regs on x86_64.

parent 31b96c6f
......@@ -1121,6 +1121,8 @@ static void build_call_from_regs_x86_64(void)
output( "\tmovq %%rax,0x18(%%rsp)\n" );
output( "\tmovw 0x42(%%rbx),%%ax\n" ); /* ss */
output( "\tmovq %%rax,0x20(%%rsp)\n" );
output( "\tmovq 0x78(%%rbx),%%rax\n" );
output( "\tmovq 0x90(%%rbx),%%rbx\n" );
output( "\tiretq\n" );
output_function_size( "__wine_call_from_regs" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment