vcomp: Add .seh annotations for x86_64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7592b406d2
commit
451c8592b9
|
@ -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);
|
extern void CDECL _vcomp_fork_call_wrapper(void *wrapper, int nargs, __ms_va_list args);
|
||||||
__ASM_GLOBAL_FUNC( _vcomp_fork_call_wrapper,
|
__ASM_GLOBAL_FUNC( _vcomp_fork_call_wrapper,
|
||||||
"pushq %rbp\n\t"
|
"pushq %rbp\n\t"
|
||||||
|
__ASM_SEH(".seh_pushreg %rbp\n\t")
|
||||||
__ASM_CFI(".cfi_adjust_cfa_offset 8\n\t")
|
__ASM_CFI(".cfi_adjust_cfa_offset 8\n\t")
|
||||||
__ASM_CFI(".cfi_rel_offset %rbp,0\n\t")
|
__ASM_CFI(".cfi_rel_offset %rbp,0\n\t")
|
||||||
"movq %rsp,%rbp\n\t"
|
"movq %rsp,%rbp\n\t"
|
||||||
|
__ASM_SEH(".seh_setframe %rbp,0\n\t")
|
||||||
__ASM_CFI(".cfi_def_cfa_register %rbp\n\t")
|
__ASM_CFI(".cfi_def_cfa_register %rbp\n\t")
|
||||||
"pushq %rsi\n\t"
|
"pushq %rsi\n\t"
|
||||||
|
__ASM_SEH(".seh_pushreg %rsi\n\t")
|
||||||
__ASM_CFI(".cfi_rel_offset %rsi,-8\n\t")
|
__ASM_CFI(".cfi_rel_offset %rsi,-8\n\t")
|
||||||
"pushq %rdi\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")
|
__ASM_CFI(".cfi_rel_offset %rdi,-16\n\t")
|
||||||
"movq %rcx,%rax\n\t"
|
"movq %rcx,%rax\n\t"
|
||||||
"movq $4,%rcx\n\t"
|
"movq $4,%rcx\n\t"
|
||||||
|
|
Loading…
Reference in New Issue