Alexandre Julliard : vcomp: Add .seh annotations for x86_64.
Alexandre Julliard
julliard at winehq.org
Wed Aug 21 14:39:33 CDT 2019
Module: wine
Branch: master
Commit: 451c8592b97388d7f243f0f3b5c0861ae3121694
URL: https://source.winehq.org/git/wine.git/?a=commit;h=451c8592b97388d7f243f0f3b5c0861ae3121694
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Aug 21 11:28:32 2019 +0200
vcomp: Add .seh annotations for x86_64.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/vcomp/main.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c
index 288806b..fe87ca0 100644
--- a/dlls/vcomp/main.c
+++ b/dlls/vcomp/main.c
@@ -157,13 +157,18 @@ __ASM_GLOBAL_FUNC( _vcomp_fork_call_wrapper,
extern void CDECL _vcomp_fork_call_wrapper(void *wrapper, int nargs, __ms_va_list args);
__ASM_GLOBAL_FUNC( _vcomp_fork_call_wrapper,
"pushq %rbp\n\t"
+ __ASM_SEH(".seh_pushreg %rbp\n\t")
__ASM_CFI(".cfi_adjust_cfa_offset 8\n\t")
__ASM_CFI(".cfi_rel_offset %rbp,0\n\t")
"movq %rsp,%rbp\n\t"
+ __ASM_SEH(".seh_setframe %rbp,0\n\t")
__ASM_CFI(".cfi_def_cfa_register %rbp\n\t")
"pushq %rsi\n\t"
+ __ASM_SEH(".seh_pushreg %rsi\n\t")
__ASM_CFI(".cfi_rel_offset %rsi,-8\n\t")
"pushq %rdi\n\t"
+ __ASM_SEH(".seh_pushreg %rdi\n\t")
+ __ASM_SEH(".seh_endprologue\n\t")
__ASM_CFI(".cfi_rel_offset %rdi,-16\n\t")
"movq %rcx,%rax\n\t"
"movq $4,%rcx\n\t"
More information about the wine-cvs
mailing list