diff options
Diffstat (limited to 'lib/libc/arch/mips/sys/sigprocmask.S')
-rw-r--r-- | lib/libc/arch/mips/sys/sigprocmask.S | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/libc/arch/mips/sys/sigprocmask.S b/lib/libc/arch/mips/sys/sigprocmask.S index c2d2e503714..2b2b51d4463 100644 --- a/lib/libc/arch/mips/sys/sigprocmask.S +++ b/lib/libc/arch/mips/sys/sigprocmask.S @@ -38,10 +38,19 @@ #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)sigprocmask.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: sigprocmask.S,v 1.1 1995/10/18 08:41:35 deraadt Exp $") + ASMSTR("$Id: sigprocmask.S,v 1.2 1996/05/16 11:16:12 pefo Exp $") #endif /* LIBC_SCCS and not lint */ +#ifdef ABICALLS + .abicalls +#endif + LEAF(sigprocmask) # sigprocmask(how, new, old) sigset_t *new, *old; +#ifdef ABICALLS + .set noreorder + .cpload t9 + .set reorder +#endif bne a1, zero, gotptr # if new sigset pointer not null li a0, 1 # how = SIG_BLOCK b doit # mask = zero @@ -57,5 +66,6 @@ out: move v0, zero j ra err: - j _C_LABEL(cerror) + la t9, _C_LABEL(cerror) + jr t9 END(sigprocmask) |