From: Rémi Bernon <rbernon(a)codeweavers.com> --- dlls/ntdll/unix/signal_x86_64.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dlls/ntdll/unix/signal_x86_64.c b/dlls/ntdll/unix/signal_x86_64.c index 92d2c82d30b..9ca19386b25 100644 --- a/dlls/ntdll/unix/signal_x86_64.c +++ b/dlls/ntdll/unix/signal_x86_64.c @@ -1633,11 +1633,10 @@ __ASM_GLOBAL_FUNC( call_user_mode_callback, "1:\n\t" #endif "movq %rcx,%r9\n\t" /* func */ - "movq %rdx,%rax\n\t" /* stack */ - "movq 0x8(%rax),%rcx\n\t" /* id */ - "movq 0x10(%rax),%rdx\n\t" /* args */ - "movq 0x18(%rax),%r8\n\t" /* len */ - "movq %rax,%rsp\n\t" + "movq %rdx,%rsp\n\t" /* stack */ + "movq 0x8(%rsp),%rcx\n\t" /* id */ + "movq 0x10(%rsp),%rdx\n\t" /* args */ + "movq 0x18(%rsp),%r8\n\t" /* len */ "jmpq *%r9" ) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/1074