mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-30 02:27:38 +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 */
|
/* restore signal mask */
|
||||||
pushq %rdi
|
pushq %rdi
|
||||||
xorl %edx,%edx
|
xorl %edx,%edx
|
||||||
movq UC_SIGMASK(%rdi),%rsi
|
leaq UC_SIGMASK(%rdi),%rsi
|
||||||
movl $3,%edi/* SIG_SETMASK */
|
movl $3,%edi/* SIG_SETMASK */
|
||||||
movl $SYS_sigprocmask,%eax
|
movl $SYS_sigprocmask,%eax
|
||||||
movq %rcx,%r10
|
movq %rcx,%r10
|
||||||
sysenter
|
syscall
|
||||||
popq %rdi
|
popq %rdi
|
||||||
|
|
||||||
/* restore fp state */
|
/* restore fp state */
|
||||||
|
|
Loading…
Reference in a new issue