Module: wine Branch: master Commit: c7fcbea4571f98cdc851ed299bf0e3346a79b8b1 URL: https://gitlab.winehq.org/wine/wine/-/commit/c7fcbea4571f98cdc851ed299bf0e33...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Mar 9 17:27:21 2023 +0100
wow64: Don't update the exception address in raise_exception().
---
dlls/wow64/syscall.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/dlls/wow64/syscall.c b/dlls/wow64/syscall.c index 69f2f6c50a5..b6b3c0c2830 100644 --- a/dlls/wow64/syscall.c +++ b/dlls/wow64/syscall.c @@ -325,7 +325,6 @@ __ASM_GLOBAL_FUNC( raise_exception, "movq (%rsp),%rcx\n\t" /* original first parameter */ "movq 0x28(%rsp),%rax\n\t" /* return address */ "movq %rax,0xf8(%rdx)\n\t" /* context->Rip */ - "movq %rax,0x10(%rcx)\n\t" /* rec->ExceptionAddress */ "call " __ASM_NAME("NtRaiseException") ) #elif defined(__aarch64__) __ASM_GLOBAL_FUNC( raise_exception, @@ -344,7 +343,6 @@ __ASM_GLOBAL_FUNC( raise_exception, "stp x4, x5, [x1, #0xf0]\n\t" /* context->Fp, Lr */ "add x4, sp, #32\n\t" /* orig stack pointer */ "stp x4, x5, [x1, #0x100]\n\t" /* context->Sp, Pc */ - "str x5, [x0, #0x10]\n\t" /* rec->ExceptionAddress */ "bl " __ASM_NAME("NtRaiseException") ) #endif