From e644246e6a7d95710beb98ed48144abf16557ce9 Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 2 Dec 1998 01:01:03 +0000 Subject: [PATCH] Warn about references to the compatibility() sigaction(), sigpending(), sigprocmask(), sigreturn(), and sigsuspend(), and direct the user to include to generate the correct reference. --- lib/libc/arch/alpha/sys/sigaction.S | 5 ++++- lib/libc/arch/alpha/sys/sigpending.S | 5 ++++- lib/libc/arch/alpha/sys/sigprocmask.S | 5 ++++- lib/libc/arch/alpha/sys/sigreturn.S | 5 ++++- lib/libc/arch/alpha/sys/sigsuspend.S | 5 ++++- lib/libc/arch/arm32/sys/sigaction.S | 5 ++++- lib/libc/arch/arm32/sys/sigpending.S | 5 ++++- lib/libc/arch/arm32/sys/sigprocmask.S | 5 ++++- lib/libc/arch/arm32/sys/sigreturn.S | 5 ++++- lib/libc/arch/arm32/sys/sigsuspend.S | 5 ++++- lib/libc/arch/i386/sys/sigaction.S | 5 ++++- lib/libc/arch/i386/sys/sigpending.S | 7 +++++-- lib/libc/arch/i386/sys/sigprocmask.S | 7 +++++-- lib/libc/arch/i386/sys/sigreturn.S | 7 +++++-- lib/libc/arch/i386/sys/sigsuspend.S | 7 +++++-- lib/libc/arch/m68k/sys/sigaction.S | 5 ++++- lib/libc/arch/m68k/sys/sigpending.S | 7 +++++-- lib/libc/arch/m68k/sys/sigprocmask.S | 7 +++++-- lib/libc/arch/m68k/sys/sigreturn.S | 7 +++++-- lib/libc/arch/m68k/sys/sigsuspend.S | 7 +++++-- lib/libc/arch/mips/sys/sigaction.S | 5 ++++- lib/libc/arch/mips/sys/sigpending.S | 7 +++++-- lib/libc/arch/mips/sys/sigprocmask.S | 7 +++++-- lib/libc/arch/mips/sys/sigreturn.S | 7 +++++-- lib/libc/arch/mips/sys/sigsuspend.S | 7 +++++-- lib/libc/arch/ns32k/sys/sigaction.S | 5 ++++- lib/libc/arch/ns32k/sys/sigpending.S | 7 +++++-- lib/libc/arch/ns32k/sys/sigprocmask.S | 7 +++++-- lib/libc/arch/ns32k/sys/sigreturn.S | 7 +++++-- lib/libc/arch/ns32k/sys/sigsuspend.S | 7 +++++-- lib/libc/arch/powerpc/sys/sigaction.S | 5 ++++- lib/libc/arch/powerpc/sys/sigpending.S | 5 ++++- lib/libc/arch/powerpc/sys/sigprocmask.S | 5 ++++- lib/libc/arch/powerpc/sys/sigreturn.S | 5 ++++- lib/libc/arch/powerpc/sys/sigsuspend.S | 5 ++++- lib/libc/arch/sparc/sys/sigaction.S | 5 ++++- lib/libc/arch/sparc/sys/sigpending.S | 7 +++++-- lib/libc/arch/sparc/sys/sigprocmask.S | 7 +++++-- lib/libc/arch/sparc/sys/sigreturn.S | 7 +++++-- lib/libc/arch/sparc/sys/sigsuspend.S | 7 +++++-- lib/libc/arch/sparc64/sys/sigaction.S | 5 ++++- lib/libc/arch/sparc64/sys/sigpending.S | 7 +++++-- lib/libc/arch/sparc64/sys/sigprocmask.S | 7 +++++-- lib/libc/arch/sparc64/sys/sigreturn.S | 7 +++++-- lib/libc/arch/sparc64/sys/sigsuspend.S | 7 +++++-- lib/libc/arch/vax/sys/sigaction.S | 5 ++++- lib/libc/arch/vax/sys/sigpending.S | 5 ++++- lib/libc/arch/vax/sys/sigprocmask.S | 5 ++++- lib/libc/arch/vax/sys/sigreturn.S | 5 ++++- lib/libc/arch/vax/sys/sigsuspend.S | 5 ++++- 50 files changed, 224 insertions(+), 74 deletions(-) diff --git a/lib/libc/arch/alpha/sys/sigaction.S b/lib/libc/arch/alpha/sys/sigaction.S index 918200dd05d0..97793d8aa823 100644 --- a/lib/libc/arch/alpha/sys/sigaction.S +++ b/lib/libc/arch/alpha/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/alpha/sys/sigpending.S b/lib/libc/arch/alpha/sys/sigpending.S index a19df8935cbc..8bda13c8075b 100644 --- a/lib/libc/arch/alpha/sys/sigpending.S +++ b/lib/libc/arch/alpha/sys/sigpending.S @@ -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 for correct reference") + LEAF(sigpending,0) /* XXX # of args? */ CALLSYS_ERROR(compat_13_sigpending13) stl v0, 0(a0) diff --git a/lib/libc/arch/alpha/sys/sigprocmask.S b/lib/libc/arch/alpha/sys/sigprocmask.S index 91aa3d37522d..706b3a9a836f 100644 --- a/lib/libc/arch/alpha/sys/sigprocmask.S +++ b/lib/libc/arch/alpha/sys/sigprocmask.S @@ -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 for correct reference") + LEAF(sigprocmask, 3) mov a2, a5 /* safe */ cmoveq a1, 1, a0 /* if set == NULL, how = SIG_BLOCK */ diff --git a/lib/libc/arch/alpha/sys/sigreturn.S b/lib/libc/arch/alpha/sys/sigreturn.S index 97f2d5a89701..8297a2b8d900 100644 --- a/lib/libc/arch/alpha/sys/sigreturn.S +++ b/lib/libc/arch/alpha/sys/sigreturn.S @@ -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 for correct reference") + PSEUDO(sigreturn,compat_13_sigreturn13) diff --git a/lib/libc/arch/alpha/sys/sigsuspend.S b/lib/libc/arch/alpha/sys/sigsuspend.S index b745baf00afd..5164e6b178cd 100644 --- a/lib/libc/arch/alpha/sys/sigsuspend.S +++ b/lib/libc/arch/alpha/sys/sigsuspend.S @@ -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 for correct reference") + LEAF(sigsuspend, 1) ldl a0, 0(a0) /* pass *mask instead of mask */ CALLSYS_ERROR(compat_13_sigsuspend13) diff --git a/lib/libc/arch/arm32/sys/sigaction.S b/lib/libc/arch/arm32/sys/sigaction.S index bd078323269c..97793d8aa823 100644 --- a/lib/libc/arch/arm32/sys/sigaction.S +++ b/lib/libc/arch/arm32/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/arm32/sys/sigpending.S b/lib/libc/arch/arm32/sys/sigpending.S index 2896536006cb..46e59659e4d4 100644 --- a/lib/libc/arch/arm32/sys/sigpending.S +++ b/lib/libc/arch/arm32/sys/sigpending.S @@ -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 for correct reference") + ENTRY(sigpending) mov r2, r0 swi SYS_compat_13_sigpending13 diff --git a/lib/libc/arch/arm32/sys/sigprocmask.S b/lib/libc/arch/arm32/sys/sigprocmask.S index aba7f7b1c926..4b487c4d4c64 100644 --- a/lib/libc/arch/arm32/sys/sigprocmask.S +++ b/lib/libc/arch/arm32/sys/sigprocmask.S @@ -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 for correct reference") + ENTRY(sigprocmask) teq r1, #0x00000000 moveq r0, #0x00000001 diff --git a/lib/libc/arch/arm32/sys/sigreturn.S b/lib/libc/arch/arm32/sys/sigreturn.S index 435db6cd3e18..c360400aafdb 100644 --- a/lib/libc/arch/arm32/sys/sigreturn.S +++ b/lib/libc/arch/arm32/sys/sigreturn.S @@ -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 for correct reference") + PSEUDO(sigreturn,compat_13_sigreturn13) diff --git a/lib/libc/arch/arm32/sys/sigsuspend.S b/lib/libc/arch/arm32/sys/sigsuspend.S index 642bf8e31392..f610501babc8 100644 --- a/lib/libc/arch/arm32/sys/sigsuspend.S +++ b/lib/libc/arch/arm32/sys/sigsuspend.S @@ -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 for correct reference") + ENTRY(sigsuspend) ldr r0, [r0] swi SYS_compat_13_sigsuspend13 diff --git a/lib/libc/arch/i386/sys/sigaction.S b/lib/libc/arch/i386/sys/sigaction.S index c63e06c9df25..97793d8aa823 100644 --- a/lib/libc/arch/i386/sys/sigaction.S +++ b/lib/libc/arch/i386/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/i386/sys/sigpending.S b/lib/libc/arch/i386/sys/sigpending.S index 85fad63dc7ba..08f42dfd27f4 100644 --- a/lib/libc/arch/i386/sys/sigpending.S +++ b/lib/libc/arch/i386/sys/sigpending.S @@ -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 #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 for correct reference") + _SYSCALL(sigpending,compat_13_sigpending13) movl 4(%esp),%ecx # fetch pointer to... movl %eax,(%ecx) # store old mask diff --git a/lib/libc/arch/i386/sys/sigprocmask.S b/lib/libc/arch/i386/sys/sigprocmask.S index a1e62de09cd8..bc73c65a7582 100644 --- a/lib/libc/arch/i386/sys/sigprocmask.S +++ b/lib/libc/arch/i386/sys/sigprocmask.S @@ -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 #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 for correct reference") + ENTRY(sigprocmask) movl 8(%esp),%ecx # fetch new sigset pointer testl %ecx,%ecx # check new sigset pointer diff --git a/lib/libc/arch/i386/sys/sigreturn.S b/lib/libc/arch/i386/sys/sigreturn.S index 996f76ae56cb..68c07b34bcad 100644 --- a/lib/libc/arch/i386/sys/sigreturn.S +++ b/lib/libc/arch/i386/sys/sigreturn.S @@ -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 #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 for correct reference") + PSEUDO(sigreturn,compat_13_sigreturn13) diff --git a/lib/libc/arch/i386/sys/sigsuspend.S b/lib/libc/arch/i386/sys/sigsuspend.S index 2b1457eeec8c..d9661dde4a3f 100644 --- a/lib/libc/arch/i386/sys/sigsuspend.S +++ b/lib/libc/arch/i386/sys/sigsuspend.S @@ -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 #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 for correct reference") + ENTRY(sigsuspend) movl 4(%esp),%eax # fetch mask arg movl (%eax),%eax # indirect to mask arg diff --git a/lib/libc/arch/m68k/sys/sigaction.S b/lib/libc/arch/m68k/sys/sigaction.S index 262841721864..19d6d850a2bf 100644 --- a/lib/libc/arch/m68k/sys/sigaction.S +++ b/lib/libc/arch/m68k/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/m68k/sys/sigpending.S b/lib/libc/arch/m68k/sys/sigpending.S index 69efdf23fa6f..b663b74a5b99 100644 --- a/lib/libc/arch/m68k/sys/sigpending.S +++ b/lib/libc/arch/m68k/sys/sigpending.S @@ -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 for correct reference") + _SYSCALL(sigpending,compat_13_sigpending13) movl sp@(4),a0 movl d0,a0@ diff --git a/lib/libc/arch/m68k/sys/sigprocmask.S b/lib/libc/arch/m68k/sys/sigprocmask.S index 05a6a26d09a4..0c480cdf53a5 100644 --- a/lib/libc/arch/m68k/sys/sigprocmask.S +++ b/lib/libc/arch/m68k/sys/sigprocmask.S @@ -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 for correct reference") + ENTRY(sigprocmask) tstl sp@(8) /* check new sigset pointer */ jne gotptr /* if not null, indirect */ diff --git a/lib/libc/arch/m68k/sys/sigreturn.S b/lib/libc/arch/m68k/sys/sigreturn.S index c5714881371b..f8cad76ac1c1 100644 --- a/lib/libc/arch/m68k/sys/sigreturn.S +++ b/lib/libc/arch/m68k/sys/sigreturn.S @@ -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 for correct reference") + /* * NOTE: Trap #1 is used for compat_13_sigreturn13 on the m68k! */ diff --git a/lib/libc/arch/m68k/sys/sigsuspend.S b/lib/libc/arch/m68k/sys/sigsuspend.S index 78fac39c0750..3bd6eba42d31 100644 --- a/lib/libc/arch/m68k/sys/sigsuspend.S +++ b/lib/libc/arch/m68k/sys/sigsuspend.S @@ -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 for correct reference") + ENTRY(sigsuspend) movl sp@(4),a0 movl a0@,sp@(4) /* indirect to mask arg */ diff --git a/lib/libc/arch/mips/sys/sigaction.S b/lib/libc/arch/mips/sys/sigaction.S index 7a72a67d4ea6..19d6d850a2bf 100644 --- a/lib/libc/arch/mips/sys/sigaction.S +++ b/lib/libc/arch/mips/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/mips/sys/sigpending.S b/lib/libc/arch/mips/sys/sigpending.S index d764c8d8b9e1..8041f83cddfb 100644 --- a/lib/libc/arch/mips/sys/sigpending.S +++ b/lib/libc/arch/mips/sys/sigpending.S @@ -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 for correct reference") + LEAF(sigpending) #ifdef ABICALLS .set noreorder diff --git a/lib/libc/arch/mips/sys/sigprocmask.S b/lib/libc/arch/mips/sys/sigprocmask.S index 17a86bbd56b4..0d5327758198 100644 --- a/lib/libc/arch/mips/sys/sigprocmask.S +++ b/lib/libc/arch/mips/sys/sigprocmask.S @@ -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 for correct reference") + LEAF(sigprocmask) # sigprocmask(how, new, old) sigset_t *new, *old; #ifdef ABICALLS .set noreorder diff --git a/lib/libc/arch/mips/sys/sigreturn.S b/lib/libc/arch/mips/sys/sigreturn.S index 43326fb028d3..dc9bafccdac3 100644 --- a/lib/libc/arch/mips/sys/sigreturn.S +++ b/lib/libc/arch/mips/sys/sigreturn.S @@ -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 for correct reference") + PSEUDO(sigreturn,compat_13_sigreturn13) diff --git a/lib/libc/arch/mips/sys/sigsuspend.S b/lib/libc/arch/mips/sys/sigsuspend.S index 984e6c54715e..e249e16dd5d0 100644 --- a/lib/libc/arch/mips/sys/sigsuspend.S +++ b/lib/libc/arch/mips/sys/sigsuspend.S @@ -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 for correct reference") + LEAF(sigsuspend) #ifdef ABICALLS .set noreorder diff --git a/lib/libc/arch/ns32k/sys/sigaction.S b/lib/libc/arch/ns32k/sys/sigaction.S index d2152343365c..19d6d850a2bf 100644 --- a/lib/libc/arch/ns32k/sys/sigaction.S +++ b/lib/libc/arch/ns32k/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/ns32k/sys/sigpending.S b/lib/libc/arch/ns32k/sys/sigpending.S index 4837fa7b8796..2070df1b2fab 100644 --- a/lib/libc/arch/ns32k/sys/sigpending.S +++ b/lib/libc/arch/ns32k/sys/sigpending.S @@ -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 for correct reference") + _SYSCALL(sigpending,compat_13_sigpending13) movd r0,0(S_ARG1) /* store old mask */ movqd 0,r0 diff --git a/lib/libc/arch/ns32k/sys/sigprocmask.S b/lib/libc/arch/ns32k/sys/sigprocmask.S index 55f90c587738..b7ac31a3031c 100644 --- a/lib/libc/arch/ns32k/sys/sigprocmask.S +++ b/lib/libc/arch/ns32k/sys/sigprocmask.S @@ -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 for correct reference") + ENTRY(sigprocmask) movd S_ARG1,r1 /* fetch new sigset pointer */ cmpqd 0,r1 /* check new sigset pointer */ diff --git a/lib/libc/arch/ns32k/sys/sigreturn.S b/lib/libc/arch/ns32k/sys/sigreturn.S index 0386eee99789..c7a154feeed0 100644 --- a/lib/libc/arch/ns32k/sys/sigreturn.S +++ b/lib/libc/arch/ns32k/sys/sigreturn.S @@ -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 for correct reference") + PSEUDO(sigreturn,compat_13_sigreturn13) diff --git a/lib/libc/arch/ns32k/sys/sigsuspend.S b/lib/libc/arch/ns32k/sys/sigsuspend.S index c14bfce9335e..2dbb18a43763 100644 --- a/lib/libc/arch/ns32k/sys/sigsuspend.S +++ b/lib/libc/arch/ns32k/sys/sigsuspend.S @@ -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 for correct reference") + ENTRY(sigsuspend) movd 0(S_ARG0),S_ARG0 /* indirect to mask arg */ SYSTRAP(compat_13_sigsuspend13) diff --git a/lib/libc/arch/powerpc/sys/sigaction.S b/lib/libc/arch/powerpc/sys/sigaction.S index 35a3c2c0960c..10766d7f83e6 100644 --- a/lib/libc/arch/powerpc/sys/sigaction.S +++ b/lib/libc/arch/powerpc/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/powerpc/sys/sigpending.S b/lib/libc/arch/powerpc/sys/sigpending.S index 8159e074cbb1..3edf30d6ca54 100644 --- a/lib/libc/arch/powerpc/sys/sigpending.S +++ b/lib/libc/arch/powerpc/sys/sigpending.S @@ -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 for correct reference") + ENTRY(sigpending) mr 5,3 # save pointer li 0,SYS_compat_13_sigpending13 diff --git a/lib/libc/arch/powerpc/sys/sigprocmask.S b/lib/libc/arch/powerpc/sys/sigprocmask.S index c882bcdaafdf..b040d53e6223 100644 --- a/lib/libc/arch/powerpc/sys/sigprocmask.S +++ b/lib/libc/arch/powerpc/sys/sigprocmask.S @@ -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 for correct reference") + /* * sigprocmask(int how, sigset_t *set, sigset_t *oset) */ diff --git a/lib/libc/arch/powerpc/sys/sigreturn.S b/lib/libc/arch/powerpc/sys/sigreturn.S index 8b47a614ef61..91e71c81c19c 100644 --- a/lib/libc/arch/powerpc/sys/sigreturn.S +++ b/lib/libc/arch/powerpc/sys/sigreturn.S @@ -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 for correct reference") + PSEUDO(sigreturn,compat_13_sigreturn13) diff --git a/lib/libc/arch/powerpc/sys/sigsuspend.S b/lib/libc/arch/powerpc/sys/sigsuspend.S index 63e8724cbe8a..f133a3eb0ecd 100644 --- a/lib/libc/arch/powerpc/sys/sigsuspend.S +++ b/lib/libc/arch/powerpc/sys/sigsuspend.S @@ -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 for correct reference") + ENTRY(sigsuspend) lwz 3,0(3) # indirect to mask arg li 0,SYS_compat_13_sigsuspend13 diff --git a/lib/libc/arch/sparc/sys/sigaction.S b/lib/libc/arch/sparc/sys/sigaction.S index 475d4b20c5fc..c711a67b4563 100644 --- a/lib/libc/arch/sparc/sys/sigaction.S +++ b/lib/libc/arch/sparc/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/sparc/sys/sigpending.S b/lib/libc/arch/sparc/sys/sigpending.S index f167145b304a..a474ca05f209 100644 --- a/lib/libc/arch/sparc/sys/sigpending.S +++ b/lib/libc/arch/sparc/sys/sigpending.S @@ -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 for correct reference") + ENTRY(sigpending) mov %o0, %o2 ! save pointer mov SYS_compat_13_sigpending13, %g1 diff --git a/lib/libc/arch/sparc/sys/sigprocmask.S b/lib/libc/arch/sparc/sys/sigprocmask.S index 5baa10056c7c..24d7de1f9672 100644 --- a/lib/libc/arch/sparc/sys/sigprocmask.S +++ b/lib/libc/arch/sparc/sys/sigprocmask.S @@ -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 for correct reference") + /* * sigprocmask(int how, sigset_t *set, sigset_t *oset) */ diff --git a/lib/libc/arch/sparc/sys/sigreturn.S b/lib/libc/arch/sparc/sys/sigreturn.S index 8466e0382401..64b815a5e7f3 100644 --- a/lib/libc/arch/sparc/sys/sigreturn.S +++ b/lib/libc/arch/sparc/sys/sigreturn.S @@ -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 for correct reference") + ENTRY(sigreturn) mov SYS_compat_13_sigreturn13, %g1 t ST_SYSCALL diff --git a/lib/libc/arch/sparc/sys/sigsuspend.S b/lib/libc/arch/sparc/sys/sigsuspend.S index 6a02c0480268..1d581e1a671f 100644 --- a/lib/libc/arch/sparc/sys/sigsuspend.S +++ b/lib/libc/arch/sparc/sys/sigsuspend.S @@ -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 for correct reference") + ENTRY(sigsuspend) ld [%o0], %o0 ! indirect to mask argument mov SYS_compat_13_sigsuspend13, %g1 diff --git a/lib/libc/arch/sparc64/sys/sigaction.S b/lib/libc/arch/sparc64/sys/sigaction.S index 8d802b395091..c711a67b4563 100644 --- a/lib/libc/arch/sparc64/sys/sigaction.S +++ b/lib/libc/arch/sparc64/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/sparc64/sys/sigpending.S b/lib/libc/arch/sparc64/sys/sigpending.S index 21ef86977d63..5a14bde4dcff 100644 --- a/lib/libc/arch/sparc64/sys/sigpending.S +++ b/lib/libc/arch/sparc64/sys/sigpending.S @@ -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 for correct reference") + ENTRY(sigpending) mov %o0, %o2 ! save pointer mov SYS_compat_13_sigpending13, %g1 diff --git a/lib/libc/arch/sparc64/sys/sigprocmask.S b/lib/libc/arch/sparc64/sys/sigprocmask.S index 306ec7a285a0..d58d7ff4d041 100644 --- a/lib/libc/arch/sparc64/sys/sigprocmask.S +++ b/lib/libc/arch/sparc64/sys/sigprocmask.S @@ -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 for correct reference") + /* * sigprocmask(int how, sigset_t *set, sigset_t *oset) */ diff --git a/lib/libc/arch/sparc64/sys/sigreturn.S b/lib/libc/arch/sparc64/sys/sigreturn.S index a4c7de0f107f..56b9bd4facd3 100644 --- a/lib/libc/arch/sparc64/sys/sigreturn.S +++ b/lib/libc/arch/sparc64/sys/sigreturn.S @@ -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 for correct reference") + ENTRY(sigreturn) mov SYS_compat_13_sigreturn13, %g1 t ST_SYSCALL diff --git a/lib/libc/arch/sparc64/sys/sigsuspend.S b/lib/libc/arch/sparc64/sys/sigsuspend.S index 773c485c3adb..0f9c76a63ba8 100644 --- a/lib/libc/arch/sparc64/sys/sigsuspend.S +++ b/lib/libc/arch/sparc64/sys/sigsuspend.S @@ -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 for correct reference") + ENTRY(sigsuspend) ld [%o0], %o0 ! indirect to mask argument mov SYS_compat_13_sigsuspend13, %g1 diff --git a/lib/libc/arch/vax/sys/sigaction.S b/lib/libc/arch/vax/sys/sigaction.S index 5e3619e97519..c711a67b4563 100644 --- a/lib/libc/arch/vax/sys/sigaction.S +++ b/lib/libc/arch/vax/sys/sigaction.S @@ -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 for correct reference") + PSEUDO(sigaction,compat_13_sigaction13) diff --git a/lib/libc/arch/vax/sys/sigpending.S b/lib/libc/arch/vax/sys/sigpending.S index 95c55f1db095..79ae3acd4bc0 100644 --- a/lib/libc/arch/vax/sys/sigpending.S +++ b/lib/libc/arch/vax/sys/sigpending.S @@ -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 for correct reference") + _SYSCALL(sigpending,compat_13_sigpending13) movl r0,*4(ap) # store old mask clrl r0 diff --git a/lib/libc/arch/vax/sys/sigprocmask.S b/lib/libc/arch/vax/sys/sigprocmask.S index a5a9e15877d3..f7a7ecdaf282 100644 --- a/lib/libc/arch/vax/sys/sigprocmask.S +++ b/lib/libc/arch/vax/sys/sigprocmask.S @@ -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 for correct reference") + ENTRY(sigprocmask, 0) tstl 8(ap) # check new sigset pointer bneq 1f # if not null, indirect diff --git a/lib/libc/arch/vax/sys/sigreturn.S b/lib/libc/arch/vax/sys/sigreturn.S index 30355130d254..f4882a5f34ef 100644 --- a/lib/libc/arch/vax/sys/sigreturn.S +++ b/lib/libc/arch/vax/sys/sigreturn.S @@ -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 for correct reference") + PSEUDO(sigreturn,compat_13_sigreturn13) diff --git a/lib/libc/arch/vax/sys/sigsuspend.S b/lib/libc/arch/vax/sys/sigsuspend.S index a2be35b95bd9..16a98b9d4134 100644 --- a/lib/libc/arch/vax/sys/sigsuspend.S +++ b/lib/libc/arch/vax/sys/sigsuspend.S @@ -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 for correct reference") + ENTRY(sigsuspend, 0) movl *4(ap),4(ap) # indirect to mask arg chmk $ SYS_compat_13_sigsuspend13