ENTRY() takes two argument now, not one.

This commit is contained in:
ragge 1997-02-04 18:38:21 +00:00
parent 9a6b12944d
commit 7e8687db1b
4 changed files with 8 additions and 8 deletions

View File

@ -33,7 +33,7 @@
#if defined(SYSLIBC_SCCS) && !defined(lint)
/* .asciz "@(#)sigprocmask.s 8.1 (Berkeley) 6/4/93" */
.asciz "$NetBSD: sigprocmask.S,v 1.1 1995/04/17 12:24:08 ragge Exp $"
.asciz "$NetBSD: sigprocmask.S,v 1.2 1997/02/04 18:38:21 ragge Exp $"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -41,7 +41,7 @@
err:
jmp cerror
ENTRY(sigprocmask)
ENTRY(sigprocmask, 0)
tstl 8(ap) # check new sigset pointer
bneq 1f # if not null, indirect
/* movl $0,8(ap) # null mask pointer: block empty set */

View File

@ -33,7 +33,7 @@
#if defined(SYSLIBC_SCCS) && !defined(lint)
/* .asciz "@(#)sigreturn.s 8.1 (Berkeley) 6/4/93" */
.asciz "$NetBSD: sigreturn.S,v 1.2 1996/11/30 02:31:53 jtc Exp $"
.asciz "$NetBSD: sigreturn.S,v 1.3 1997/02/04 18:38:22 ragge Exp $"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -43,7 +43,7 @@
*/
#ifdef GPROF
#undef ENTRY
#define ENTRY(x) \
#define ENTRY(x, y) \
.globl _ ## x; .align 2; _ ## x ## : .word 0; pushr $0x3f; \
.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount; popr $0x3f;
#endif /* GPROF */

View File

@ -33,7 +33,7 @@
#if defined(SYSLIBC_SCCS) && !defined(lint)
/* .asciz "@(#)sigsuspend.s 8.1 (Berkeley) 6/4/93" */
.asciz "$NetBSD: sigsuspend.S,v 1.1 1995/04/17 12:24:10 ragge Exp $"
.asciz "$NetBSD: sigsuspend.S,v 1.2 1997/02/04 18:38:23 ragge Exp $"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -41,7 +41,7 @@
err:
jmp cerror
ENTRY(sigsuspend)
ENTRY(sigsuspend, 0)
movl *4(ap),4(ap) # indirect to mask arg
chmk $ SYS_sigsuspend
jcs err

View File

@ -38,12 +38,12 @@
#if defined(SYSLIBC_SCCS) && !defined(lint)
/* .asciz "@(#)syscall.s 8.2 (Berkeley) 1/21/94" */
.asciz "$NetBSD: syscall.S,v 1.1 1995/04/17 12:24:11 ragge Exp $"
.asciz "$NetBSD: syscall.S,v 1.2 1997/02/04 18:38:23 ragge Exp $"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
ENTRY(syscall)
ENTRY(syscall, 0)
movl 4(ap),r0 # syscall number
subl3 $1,(ap)+,(ap) # one fewer arguments
chmk r0