mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-05 09:19:27 +01:00
Fix setcontext for amd64 freebsd
This commit is contained in:
parent
ad97600f75
commit
31ece3eaa1
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue