1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-26 09:07:38 +01:00

Fix setcontext for amd64 freebsd

This commit is contained in:
Konstantin Belousov 2010-04-03 18:28:31 +03:00
parent ad97600f75
commit 31ece3eaa1

View file

@ -63,11 +63,11 @@ _Ux86_64_setcontext:
/* restore signal mask */
pushq %rdi
xorl %edx,%edx
movq UC_SIGMASK(%rdi),%rsi
leaq UC_SIGMASK(%rdi),%rsi
movl $3,%edi/* SIG_SETMASK */
movl $SYS_sigprocmask,%eax
movq %rcx,%r10
sysenter
syscall
popq %rdi
/* restore fp state */