Warn about references to the compatibility() sigaction(), sigpending(),

sigprocmask(), sigreturn(), and sigsuspend(), and direct the user to
include <signal.h> to generate the correct reference.
This commit is contained in:
thorpej 1998-12-02 01:01:03 +00:00
parent a6f7e0c05a
commit e644246e6a
50 changed files with 224 additions and 74 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigaction.S,v 1.1 1998/09/29 03:01:38 thorpej Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,4 +39,7 @@
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigpending.S,v 1.2 1998/09/29 03:01:38 thorpej Exp $ */
/* $NetBSD: sigpending.S,v 1.3 1998/12/02 01:01:03 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -29,6 +29,9 @@
#include "SYS.h"
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
LEAF(sigpending,0) /* XXX # of args? */
CALLSYS_ERROR(compat_13_sigpending13)
stl v0, 0(a0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigprocmask.S,v 1.3 1998/09/29 03:01:38 thorpej Exp $ */
/* $NetBSD: sigprocmask.S,v 1.4 1998/12/02 01:01:03 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -29,6 +29,9 @@
#include "SYS.h"
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
LEAF(sigprocmask, 3)
mov a2, a5 /* safe */
cmoveq a1, 1, a0 /* if set == NULL, how = SIG_BLOCK */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigreturn.S,v 1.2 1998/09/29 03:01:38 thorpej Exp $ */
/* $NetBSD: sigreturn.S,v 1.3 1998/12/02 01:01:03 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -35,4 +35,7 @@
* (XXX PROFILING)
*/
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
PSEUDO(sigreturn,compat_13_sigreturn13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsuspend.S,v 1.3 1998/09/29 03:01:38 thorpej Exp $ */
/* $NetBSD: sigsuspend.S,v 1.4 1998/12/02 01:01:03 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -29,6 +29,9 @@
#include "SYS.h"
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
LEAF(sigsuspend, 1)
ldl a0, 0(a0) /* pass *mask instead of mask */
CALLSYS_ERROR(compat_13_sigsuspend13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigaction.S,v 1.1 1998/09/29 20:23:26 thorpej Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,4 +39,7 @@
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigpending.S,v 1.4 1998/09/29 20:23:26 thorpej Exp $ */
/* $NetBSD: sigpending.S,v 1.5 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -37,6 +37,9 @@
#include "SYS.h"
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
ENTRY(sigpending)
mov r2, r0
swi SYS_compat_13_sigpending13

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigprocmask.S,v 1.4 1998/09/29 20:23:26 thorpej Exp $ */
/* $NetBSD: sigprocmask.S,v 1.5 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -37,6 +37,9 @@
#include "SYS.h"
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
ENTRY(sigprocmask)
teq r1, #0x00000000
moveq r0, #0x00000001

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigreturn.S,v 1.5 1998/09/29 20:23:27 thorpej Exp $ */
/* $NetBSD: sigreturn.S,v 1.6 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -41,4 +41,7 @@
* We must preserve the state of the registers as the user has set them up.
*/
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
PSEUDO(sigreturn,compat_13_sigreturn13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsuspend.S,v 1.4 1998/09/29 20:23:27 thorpej Exp $ */
/* $NetBSD: sigsuspend.S,v 1.5 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -37,6 +37,9 @@
#include "SYS.h"
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
ENTRY(sigsuspend)
ldr r0, [r0]
swi SYS_compat_13_sigsuspend13

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigaction.S,v 1.1 1998/09/26 23:57:15 christos Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,4 +39,7 @@
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigpending.S,v 1.4 1998/09/26 23:49:34 christos Exp $ */
/* $NetBSD: sigpending.S,v 1.5 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -40,11 +40,14 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: sigpending.S,v 1.4 1998/09/26 23:49:34 christos Exp $")
RCSID("$NetBSD: sigpending.S,v 1.5 1998/12/02 01:01:03 thorpej Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
_SYSCALL(sigpending,compat_13_sigpending13)
movl 4(%esp),%ecx # fetch pointer to...
movl %eax,(%ecx) # store old mask

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigprocmask.S,v 1.10 1998/09/26 23:49:34 christos Exp $ */
/* $NetBSD: sigprocmask.S,v 1.11 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -40,11 +40,14 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: sigprocmask.S,v 1.10 1998/09/26 23:49:34 christos Exp $")
RCSID("$NetBSD: sigprocmask.S,v 1.11 1998/12/02 01:01:03 thorpej Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
ENTRY(sigprocmask)
movl 8(%esp),%ecx # fetch new sigset pointer
testl %ecx,%ecx # check new sigset pointer

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigreturn.S,v 1.5 1998/09/26 23:49:34 christos Exp $ */
/* $NetBSD: sigreturn.S,v 1.6 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -40,7 +40,7 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: sigreturn.S,v 1.5 1998/09/26 23:49:34 christos Exp $")
RCSID("$NetBSD: sigreturn.S,v 1.6 1998/12/02 01:01:03 thorpej Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -55,4 +55,7 @@
.data; 1:; .long 0; .text; movl $1b,%eax; call mcount; popa ; nop
#endif /* GPROF */
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
PSEUDO(sigreturn,compat_13_sigreturn13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsuspend.S,v 1.8 1998/09/26 23:49:34 christos Exp $ */
/* $NetBSD: sigsuspend.S,v 1.9 1998/12/02 01:01:03 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -40,11 +40,14 @@
#include <machine/asm.h>
#if defined(SYSLIBC_SCCS) && !defined(lint)
RCSID("$NetBSD: sigsuspend.S,v 1.8 1998/09/26 23:49:34 christos Exp $")
RCSID("$NetBSD: sigsuspend.S,v 1.9 1998/12/02 01:01:03 thorpej Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
ENTRY(sigsuspend)
movl 4(%esp),%eax # fetch mask arg
movl (%eax),%eax # indirect to mask arg

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigaction.S,v 1.1 1998/10/05 02:34:21 thorpej Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,4 +39,7 @@
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigpending.S,v 1.3 1998/10/05 02:34:21 thorpej Exp $ */
/* $NetBSD: sigpending.S,v 1.4 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -43,10 +43,13 @@
#if 0
RCSID("from: @(#)sigpending.s 5.2 (Berkeley) 8/6/90")
#else
RCSID("$NetBSD: sigpending.S,v 1.3 1998/10/05 02:34:21 thorpej Exp $")
RCSID("$NetBSD: sigpending.S,v 1.4 1998/12/02 01:01:04 thorpej Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
_SYSCALL(sigpending,compat_13_sigpending13)
movl sp@(4),a0
movl d0,a0@

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigprocmask.S,v 1.5 1998/10/05 02:34:21 thorpej Exp $ */
/* $NetBSD: sigprocmask.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -43,10 +43,13 @@
#if 0
RCSID("from: @(#)sigprocmask.s 5.2 (Berkeley) 6/6/90")
#else
RCSID("$NetBSD: sigprocmask.S,v 1.5 1998/10/05 02:34:21 thorpej Exp $")
RCSID("$NetBSD: sigprocmask.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
ENTRY(sigprocmask)
tstl sp@(8) /* check new sigset pointer */
jne gotptr /* if not null, indirect */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigreturn.S,v 1.5 1998/10/05 02:34:21 thorpej Exp $ */
/* $NetBSD: sigreturn.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -43,7 +43,7 @@
#if 0
RCSID("from: @(#)sigreturn.s 5.1 (Berkeley) 5/12/90")
#else
RCSID("$NetBSD: sigreturn.S,v 1.5 1998/10/05 02:34:21 thorpej Exp $")
RCSID("$NetBSD: sigreturn.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
@ -58,6 +58,9 @@
moveml sp@+,#0x0303
#endif /* GPROF */
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
/*
* NOTE: Trap #1 is used for compat_13_sigreturn13 on the m68k!
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsuspend.S,v 1.5 1998/10/05 02:34:21 thorpej Exp $ */
/* $NetBSD: sigsuspend.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -43,10 +43,13 @@
#if 0
RCSID("from: @(#)sigsuspend.s 5.2 (Berkeley) 6/6/90")
#else
RCSID("$NetBSD: sigsuspend.S,v 1.5 1998/10/05 02:34:21 thorpej Exp $")
RCSID("$NetBSD: sigsuspend.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
ENTRY(sigsuspend)
movl sp@(4),a0
movl a0@,sp@(4) /* indirect to mask arg */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigaction.S,v 1.1 1998/09/28 19:01:28 thorpej Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,4 +39,7 @@
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigpending.S,v 1.6 1998/09/27 22:59:40 jonathan Exp $ */
/* $NetBSD: sigpending.S,v 1.7 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -40,13 +40,16 @@
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)sigpending.s 8.1 (Berkeley) 6/4/93")
ASMSTR("$NetBSD: sigpending.S,v 1.6 1998/09/27 22:59:40 jonathan Exp $")
ASMSTR("$NetBSD: sigpending.S,v 1.7 1998/12/02 01:01:04 thorpej Exp $")
#endif /* LIBC_SCCS and not lint */
#ifdef ABICALLS
.abicalls
#endif
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
LEAF(sigpending)
#ifdef ABICALLS
.set noreorder

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigprocmask.S,v 1.6 1998/09/27 22:59:40 jonathan Exp $ */
/* $NetBSD: sigprocmask.S,v 1.7 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -40,13 +40,16 @@
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)sigprocmask.s 8.1 (Berkeley) 6/4/93")
ASMSTR("$NetBSD: sigprocmask.S,v 1.6 1998/09/27 22:59:40 jonathan Exp $")
ASMSTR("$NetBSD: sigprocmask.S,v 1.7 1998/12/02 01:01:04 thorpej Exp $")
#endif /* LIBC_SCCS and not lint */
#ifdef ABICALLS
.abicalls
#endif
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
LEAF(sigprocmask) # sigprocmask(how, new, old) sigset_t *new, *old;
#ifdef ABICALLS
.set noreorder

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigreturn.S,v 1.4 1998/09/27 22:59:40 jonathan Exp $ */
/* $NetBSD: sigreturn.S,v 1.5 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -40,7 +40,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)sigreturn.s 8.1 (Berkeley) 6/4/93")
ASMSTR("$NetBSD: sigreturn.S,v 1.4 1998/09/27 22:59:40 jonathan Exp $")
ASMSTR("$NetBSD: sigreturn.S,v 1.5 1998/12/02 01:01:04 thorpej Exp $")
#endif /* LIBC_SCCS and not lint */
#ifdef ABICALLS
@ -51,4 +51,7 @@
* We must preserve the state of the registers as the user has set them up.
*/
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
PSEUDO(sigreturn,compat_13_sigreturn13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsuspend.S,v 1.6 1998/09/27 22:59:40 jonathan Exp $ */
/* $NetBSD: sigsuspend.S,v 1.7 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -40,13 +40,16 @@
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)sigsuspend.s 8.1 (Berkeley) 6/4/93")
ASMSTR("$NetBSD: sigsuspend.S,v 1.6 1998/09/27 22:59:40 jonathan Exp $")
ASMSTR("$NetBSD: sigsuspend.S,v 1.7 1998/12/02 01:01:04 thorpej Exp $")
#endif /* LIBC_SCCS and not lint */
#ifdef ABICALLS
.abicalls
#endif
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
LEAF(sigsuspend)
#ifdef ABICALLS
.set noreorder

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigaction.S,v 1.1 1998/09/29 20:24:36 thorpej Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:04 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,4 +39,7 @@
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigpending.S,v 1.4 1998/09/29 20:24:36 thorpej Exp $ */
/* $NetBSD: sigpending.S,v 1.5 1998/12/02 01:01:04 thorpej Exp $ */
/*
* Copyright (c) 1992 Helsinki University of Technology
@ -24,9 +24,12 @@
#include "SYS.h"
#if defined(LIBC_SCCS)
RCSID("$NetBSD: sigpending.S,v 1.4 1998/09/29 20:24:36 thorpej Exp $")
RCSID("$NetBSD: sigpending.S,v 1.5 1998/12/02 01:01:04 thorpej Exp $")
#endif
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
_SYSCALL(sigpending,compat_13_sigpending13)
movd r0,0(S_ARG1) /* store old mask */
movqd 0,r0

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigprocmask.S,v 1.4 1998/09/29 20:24:36 thorpej Exp $ */
/* $NetBSD: sigprocmask.S,v 1.5 1998/12/02 01:01:04 thorpej Exp $ */
/*
* Copyright (c) 1992 Helsinki University of Technology
@ -24,9 +24,12 @@
#include "SYS.h"
#if defined(LIBC_SCCS)
RCSID("$NetBSD: sigprocmask.S,v 1.4 1998/09/29 20:24:36 thorpej Exp $")
RCSID("$NetBSD: sigprocmask.S,v 1.5 1998/12/02 01:01:04 thorpej Exp $")
#endif
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
ENTRY(sigprocmask)
movd S_ARG1,r1 /* fetch new sigset pointer */
cmpqd 0,r1 /* check new sigset pointer */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigreturn.S,v 1.7 1998/09/29 20:24:36 thorpej Exp $ */
/* $NetBSD: sigreturn.S,v 1.8 1998/12/02 01:01:04 thorpej Exp $ */
/*
* Copyright (c) 1992 Helsinki University of Technology
@ -30,7 +30,10 @@
#include "SYS.h"
#if defined(LIBC_SCCS)
RCSID("$NetBSD: sigreturn.S,v 1.7 1998/09/29 20:24:36 thorpej Exp $")
RCSID("$NetBSD: sigreturn.S,v 1.8 1998/12/02 01:01:04 thorpej Exp $")
#endif
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
PSEUDO(sigreturn,compat_13_sigreturn13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsuspend.S,v 1.4 1998/09/29 20:24:36 thorpej Exp $ */
/* $NetBSD: sigsuspend.S,v 1.5 1998/12/02 01:01:04 thorpej Exp $ */
/*
* Copyright (c) 1992 Helsinki University of Technology
@ -24,9 +24,12 @@
#include "SYS.h"
#if defined(LIBC_SCCS)
RCSID("$NetBSD: sigsuspend.S,v 1.4 1998/09/29 20:24:36 thorpej Exp $")
RCSID("$NetBSD: sigsuspend.S,v 1.5 1998/12/02 01:01:04 thorpej Exp $")
#endif
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
ENTRY(sigsuspend)
movd 0(S_ARG0),S_ARG0 /* indirect to mask arg */
SYSTRAP(compat_13_sigsuspend13)

View File

@ -1,5 +1,8 @@
/* $NetBSD: sigaction.S,v 1.1 1998/10/03 12:30:38 tsubai Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:04 thorpej Exp $ */
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -1,7 +1,10 @@
/* $NetBSD: sigpending.S,v 1.5 1998/11/24 11:14:57 tsubai Exp $ */
/* $NetBSD: sigpending.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $ */
#include "SYS.h"
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
ENTRY(sigpending)
mr 5,3 # save pointer
li 0,SYS_compat_13_sigpending13

View File

@ -1,7 +1,10 @@
/* $NetBSD: sigprocmask.S,v 1.5 1998/11/24 11:14:57 tsubai Exp $ */
/* $NetBSD: sigprocmask.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $ */
#include "SYS.h"
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
/*
* sigprocmask(int how, sigset_t *set, sigset_t *oset)
*/

View File

@ -1,5 +1,8 @@
/* $NetBSD: sigreturn.S,v 1.3 1998/10/03 12:30:39 tsubai Exp $ */
/* $NetBSD: sigreturn.S,v 1.4 1998/12/02 01:01:04 thorpej Exp $ */
#include "SYS.h"
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
PSEUDO(sigreturn,compat_13_sigreturn13)

View File

@ -1,7 +1,10 @@
/* $NetBSD: sigsuspend.S,v 1.5 1998/11/24 11:14:57 tsubai Exp $ */
/* $NetBSD: sigsuspend.S,v 1.6 1998/12/02 01:01:04 thorpej Exp $ */
#include "SYS.h"
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
ENTRY(sigsuspend)
lwz 3,0(3) # indirect to mask arg
li 0,SYS_compat_13_sigsuspend13

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigaction.S,v 1.1 1998/09/29 05:55:49 christos Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:05 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,4 +39,7 @@
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigpending.S,v 1.3 1998/09/29 05:55:49 christos Exp $ */
/* $NetBSD: sigpending.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@ -43,12 +43,15 @@
#if 0
.asciz "@(#)sigpending.s 8.1 (Berkeley) 6/4/93"
#else
RCSID("$NetBSD: sigpending.S,v 1.3 1998/09/29 05:55:49 christos Exp $")
RCSID("$NetBSD: sigpending.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
ENTRY(sigpending)
mov %o0, %o2 ! save pointer
mov SYS_compat_13_sigpending13, %g1

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigprocmask.S,v 1.3 1998/09/29 05:55:49 christos Exp $ */
/* $NetBSD: sigprocmask.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@ -44,12 +44,15 @@
#if 0
.asciz "@(#)sigprocmask.s 8.1 (Berkeley) 6/4/93"
#else
RCSID("$NetBSD: sigprocmask.S,v 1.3 1998/09/29 05:55:49 christos Exp $")
RCSID("$NetBSD: sigprocmask.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
/*
* sigprocmask(int how, sigset_t *set, sigset_t *oset)
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigreturn.S,v 1.3 1998/09/29 05:55:50 christos Exp $ */
/* $NetBSD: sigreturn.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@ -44,12 +44,15 @@
#if 0
.asciz "@(#)sigreturn.s 8.1 (Berkeley) 6/4/93"
#else
RCSID("$NetBSD: sigreturn.S,v 1.3 1998/09/29 05:55:50 christos Exp $")
RCSID("$NetBSD: sigreturn.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
ENTRY(sigreturn)
mov SYS_compat_13_sigreturn13, %g1
t ST_SYSCALL

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsuspend.S,v 1.3 1998/09/29 05:55:50 christos Exp $ */
/* $NetBSD: sigsuspend.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@ -43,12 +43,15 @@
#if 0
.asciz "@(#)sigsuspend.s 8.1 (Berkeley) 6/4/93"
#else
RCSID("$NetBSD: sigsuspend.S,v 1.3 1998/09/29 05:55:50 christos Exp $")
RCSID("$NetBSD: sigsuspend.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
ENTRY(sigsuspend)
ld [%o0], %o0 ! indirect to mask argument
mov SYS_compat_13_sigsuspend13, %g1

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigaction.S,v 1.1 1998/10/08 02:27:59 eeh Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:05 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,4 +39,7 @@
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigpending.S,v 1.4 1998/10/08 02:27:59 eeh Exp $ */
/* $NetBSD: sigpending.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@ -43,12 +43,15 @@
#if 0
.asciz "@(#)sigpending.s 8.1 (Berkeley) 6/4/93"
#else
RCSID("$NetBSD: sigpending.S,v 1.4 1998/10/08 02:27:59 eeh Exp $")
RCSID("$NetBSD: sigpending.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
ENTRY(sigpending)
mov %o0, %o2 ! save pointer
mov SYS_compat_13_sigpending13, %g1

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigprocmask.S,v 1.4 1998/10/08 02:27:59 eeh Exp $ */
/* $NetBSD: sigprocmask.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@ -44,12 +44,15 @@
#if 0
.asciz "@(#)sigprocmask.s 8.1 (Berkeley) 6/4/93"
#else
RCSID("$NetBSD: sigprocmask.S,v 1.4 1998/10/08 02:27:59 eeh Exp $")
RCSID("$NetBSD: sigprocmask.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
/*
* sigprocmask(int how, sigset_t *set, sigset_t *oset)
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigreturn.S,v 1.4 1998/10/08 02:27:59 eeh Exp $ */
/* $NetBSD: sigreturn.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@ -44,12 +44,15 @@
#if 0
.asciz "@(#)sigreturn.s 8.1 (Berkeley) 6/4/93"
#else
RCSID("$NetBSD: sigreturn.S,v 1.4 1998/10/08 02:27:59 eeh Exp $")
RCSID("$NetBSD: sigreturn.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
ENTRY(sigreturn)
mov SYS_compat_13_sigreturn13, %g1
t ST_SYSCALL

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigsuspend.S,v 1.4 1998/10/08 02:28:00 eeh Exp $ */
/* $NetBSD: sigsuspend.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@ -43,12 +43,15 @@
#if 0
.asciz "@(#)sigsuspend.s 8.1 (Berkeley) 6/4/93"
#else
RCSID("$NetBSD: sigsuspend.S,v 1.4 1998/10/08 02:28:00 eeh Exp $")
RCSID("$NetBSD: sigsuspend.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
ENTRY(sigsuspend)
ld [%o0], %o0 ! indirect to mask argument
mov SYS_compat_13_sigsuspend13, %g1

View File

@ -1,4 +1,4 @@
/* $NetBSD: sigaction.S,v 1.1 1998/09/30 18:37:39 ragge Exp $ */
/* $NetBSD: sigaction.S,v 1.2 1998/12/02 01:01:05 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -39,4 +39,7 @@
#include "SYS.h"
WARN_REFERENCES(sigaction, \
"warning: reference to compatibility sigaction(); include <signal.h> for correct reference")
PSEUDO(sigaction,compat_13_sigaction13)

View File

@ -33,11 +33,14 @@
#if defined(SYSLIBC_SCCS) && !defined(lint)
/* .asciz "@(#)sigpending.s 8.1 (Berkeley) 6/4/93" */
.asciz "$NetBSD: sigpending.S,v 1.2 1998/09/30 18:37:39 ragge Exp $"
.asciz "$NetBSD: sigpending.S,v 1.3 1998/12/02 01:01:05 thorpej Exp $"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
WARN_REFERENCES(sigpending, \
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
_SYSCALL(sigpending,compat_13_sigpending13)
movl r0,*4(ap) # store old mask
clrl r0

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.3 1998/09/30 18:37:39 ragge Exp $"
.asciz "$NetBSD: sigprocmask.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -41,6 +41,9 @@
err:
jmp cerror
WARN_REFERENCES(sigprocmask, \
"warning: reference to compatibility sigprocmask(); include <signal.h> for correct reference")
ENTRY(sigprocmask, 0)
tstl 8(ap) # check new sigset pointer
bneq 1f # if not null, indirect

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.4 1998/09/30 18:37:39 ragge Exp $"
.asciz "$NetBSD: sigreturn.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -48,4 +48,7 @@
.data; 1:; .long 0; .text; moval 1b,r0; jsb mcount; popr $0x3f;
#endif /* GPROF */
WARN_REFERENCES(sigreturn, \
"warning: reference to compatibility sigreturn(); include <signal.h> for correct reference")
PSEUDO(sigreturn,compat_13_sigreturn13)

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.3 1998/09/30 18:37:39 ragge Exp $"
.asciz "$NetBSD: sigsuspend.S,v 1.4 1998/12/02 01:01:05 thorpej Exp $"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@ -41,6 +41,9 @@
err:
jmp cerror
WARN_REFERENCES(sigsuspend, \
"warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference")
ENTRY(sigsuspend, 0)
movl *4(ap),4(ap) # indirect to mask arg
chmk $ SYS_compat_13_sigsuspend13