Commit 451c8592 authored by Alexandre Julliard's avatar Alexandre Julliard

vcomp: Add .seh annotations for x86_64.

parent 7592b406
...@@ -157,13 +157,18 @@ __ASM_GLOBAL_FUNC( _vcomp_fork_call_wrapper, ...@@ -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"
......
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