diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-30 20:28:03 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-30 20:28:03 +0000 |
commit | 9f1ce502291b1ef4a0674512422a65282086574b (patch) | |
tree | 08116c12775190d7d5e7f5b27550e9b8e184d9f2 /lib/libc/arch/mips/gen/sigsetjmp.S | |
parent | 5a4b8571aa88ae3650f87ddb399045f4b797437a (diff) |
Cleanup of abi call and endian stuff. Also fixed some bugs. (AENT).
Diffstat (limited to 'lib/libc/arch/mips/gen/sigsetjmp.S')
-rw-r--r-- | lib/libc/arch/mips/gen/sigsetjmp.S | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/lib/libc/arch/mips/gen/sigsetjmp.S b/lib/libc/arch/mips/gen/sigsetjmp.S index 9f778ab316b..fa687497e54 100644 --- a/lib/libc/arch/mips/gen/sigsetjmp.S +++ b/lib/libc/arch/mips/gen/sigsetjmp.S @@ -1,3 +1,4 @@ +/* $OpenBSD: sigsetjmp.S,v 1.4 1996/07/30 20:27:52 pefo Exp $ */ /*- * Copyright (c) 1991, 1993, 1995, * The Regents of the University of California. All rights reserved. @@ -36,21 +37,14 @@ #include <sys/syscall.h> #include <machine/regnum.h> -#if MACHINE==pica #include <machine/asm.h> -#else -#include <machine/machAsmDefs.h> -#endif #include <machine/setjmp.h> #if defined(LIBC_SCCS) && !defined(lint) ASMSTR("from: @(#)setjmp.s 8.1 (Berkeley) 6/4/93") - ASMSTR("$Id: sigsetjmp.S,v 1.3 1996/05/16 11:16:02 pefo Exp $") + ASMSTR("$Id: sigsetjmp.S,v 1.4 1996/07/30 20:27:52 pefo Exp $") #endif /* LIBC_SCCS and not lint */ -#ifdef ABICALLS - .abicalls -#endif /* * C library -- sigsetjmp, siglongjmp @@ -65,11 +59,7 @@ */ LEAF(sigsetjmp) -#ifdef ABICALLS - .set noreorder - .cpload t9 .set reorder -#endif sw a1, (_JBLEN*4)(a0) # save "savemask" bne a1, 0x0, 1f # do saving of signal mask? la t9, _setjmp @@ -80,11 +70,7 @@ LEAF(sigsetjmp) END(sigsetjmp) LEAF(siglongjmp) -#ifdef ABICALLS - .set noreorder - .cpload t9 .set reorder -#endif lw t0, (_JBLEN * 4)(a0) # get "savemask" bne t0, 0x0, 1f # restore signal mask? la t9, _longjmp |