1 /* $NetBSD: __setjmp14.S,v 1.3 2014/08/23 02:24:22 matt Exp $ */
6 __RCSID("$NetBSD: __setjmp14.S,v 1.3 2014/08/23 02:24:22 matt Exp $")
10 * C library -- _setjmp, _longjmp
13 * will generate a "return(v?v:1)" from the last call to
15 * by restoring registers from the stack.
16 * The previous signal state is restored.
23 addi %r5,%r6,100 # &sigmask
24 _DOSYSCALL(__sigprocmask14) # assume no error XXX
30 std %r8,8(%r6) # save r8-r31
60 ld %r8,8(%r6) # load r8-r31
90 addi %r4,%r3,100 # &sigmask
91 li %r3,3 # SIG_SETMASK
93 _DOSYSCALL(__sigprocmask14) # assume no error XXX