diff options
Diffstat (limited to 'lib/libc/arch/mips/sys/sigsuspend.S')
-rw-r--r-- | lib/libc/arch/mips/sys/sigsuspend.S | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/libc/arch/mips/sys/sigsuspend.S b/lib/libc/arch/mips/sys/sigsuspend.S index 0941dcc4229..d7edf2a3077 100644 --- a/lib/libc/arch/mips/sys/sigsuspend.S +++ b/lib/libc/arch/mips/sys/sigsuspend.S @@ -38,10 +38,19 @@ #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)sigsuspend.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: sigsuspend.S,v 1.1 1995/10/18 08:41:36 deraadt Exp $") + ASMSTR("$Id: sigsuspend.S,v 1.2 1996/05/16 11:16:13 pefo Exp $") #endif /* LIBC_SCCS and not lint */ +#ifdef ABICALLS + .abicalls +#endif + LEAF(sigsuspend) +#ifdef ABICALLS + .set noreorder + .cpload t9 + .set reorder +#endif lw a0, 0(a0) # indirect to mask arg li v0, SYS_sigsuspend syscall @@ -49,5 +58,6 @@ LEAF(sigsuspend) move v0, zero # should not happen j ra 1: - j _C_LABEL(cerror) + la t9, _C_LABEL(cerror) + jr t9 END(sigsuspend) |