1 /* $NetBSD: __setjmp14.S,v 1.5 2011/01/15 07:31:12 matt Exp $ */
7 __RCSID("$NetBSD: __setjmp14.S,v 1.5 2011/01/15 07:31:12 matt Exp $")
11 * C library -- _setjmp, _longjmp
14 * will generate a "return(v?v:1)" from the last call to
16 * by restoring registers from the stack.
17 * The previous signal state is restored.
24 addi %r5,%r6,4*(1+24) # &sigmask
25 _DOSYSCALL(__sigprocmask14) # assume no error XXX
30 stmw %r8,4(%r6) # save r8-r31
36 lmw %r8,4(%r3) # load r8-r31
42 addi %r4,%r3,4*(1+24) # &sigmask
45 _DOSYSCALL(__sigprocmask14) # assume no error XXX