Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc Enable the libc-provided signal trampoline. The ol...



details:   https://anonhg.NetBSD.org/src/rev/7457e41df2b9
branches:  trunk
changeset: 533831:7457e41df2b9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 10 04:29:05 2002 +0000

description:
Enable the libc-provided signal trampoline.  The old __sigaction14
entry point has been replaced by the new __sigaction14() which is a
wrapper around the __sigaction_sigtramp system call (which is itself
not directly exposed outside of libc).

No shared library version change is necessary; no new symbols
are exposed outside of libc.

diffstat:

 lib/libc/arch/alpha/Makefile.inc   |  4 +++-
 lib/libc/arch/arm/Makefile.inc     |  4 +++-
 lib/libc/arch/hppa/Makefile.inc    |  4 +++-
 lib/libc/arch/i386/Makefile.inc    |  4 +++-
 lib/libc/arch/m68k/Makefile.inc    |  4 +++-
 lib/libc/arch/mips/Makefile.inc    |  4 +++-
 lib/libc/arch/ns32k/Makefile.inc   |  4 +++-
 lib/libc/arch/powerpc/Makefile.inc |  4 +++-
 lib/libc/arch/sh3/Makefile.inc     |  4 +++-
 lib/libc/arch/sparc/Makefile.inc   |  4 +++-
 lib/libc/arch/sparc64/Makefile.inc |  4 +++-
 lib/libc/arch/vax/Makefile.inc     |  3 +++
 lib/libc/arch/x86_64/Makefile.inc  |  4 +++-
 lib/libc/sys/Makefile.inc          |  6 +++---
 14 files changed, 42 insertions(+), 15 deletions(-)

diffs (210 lines):

diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/alpha/Makefile.inc
--- a/lib/libc/arch/alpha/Makefile.inc  Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/alpha/Makefile.inc  Wed Jul 10 04:29:05 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.12 2002/01/27 23:33:52 ross Exp $
+#      $NetBSD: Makefile.inc,v 1.13 2002/07/10 04:29:05 thorpej Exp $
 
 KMINCLUDES=
 KMSRCS=        divrem.m4 \
@@ -6,6 +6,8 @@
        memcpy.S memmove.S
 #KMSRCS=       bcmp.S strcat.S strcmp.S strcpy.S strlen.S
 
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
+
 # `source' files built from m4 source
 SRCS+= __divqu.S __divq.S __divlu.S __divl.S
 SRCS+= __remqu.S __remq.S __remlu.S __reml.S
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/arm/Makefile.inc
--- a/lib/libc/arch/arm/Makefile.inc    Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/arm/Makefile.inc    Wed Jul 10 04:29:05 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.4 2002/05/21 23:51:04 bjh21 Exp $
+# $NetBSD: Makefile.inc,v 1.5 2002/07/10 04:29:06 thorpej Exp $
 
 .include <bsd.own.mk>
 
@@ -6,6 +6,8 @@
 KMSRCS=arch/arm/gen/divsi3.S arch/arm/string/memmove.S \
        arch/arm/string/memcpy.S
 
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
+
 CPPFLAGS += -DSOFTFLOAT
 
 .if ${OBJECT_FMT} != "ELF"
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/hppa/Makefile.inc
--- a/lib/libc/arch/hppa/Makefile.inc   Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/hppa/Makefile.inc   Wed Jul 10 04:29:05 2002 +0000
@@ -1,10 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.1 2002/06/06 20:31:20 fredette Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2002/07/10 04:29:06 thorpej Exp $
 
 #      $OpenBSD: Makefile.inc,v 1.3 1999/12/25 06:02:10 mickey Exp $
 
 KMINCLUDES=    arch/hppa/DEFS.h arch/hppa/SYS.h prefix.h
 KMSRCS=        bcmp.S bzero.S bcopy.m4 ffs.S
 
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
+
 #SRCS+=        memmove.S
 #CLEANFILES+=  memmove.S
 SRCS+= bcopy.c
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/i386/Makefile.inc
--- a/lib/libc/arch/i386/Makefile.inc   Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/i386/Makefile.inc   Wed Jul 10 04:29:05 2002 +0000
@@ -1,5 +1,7 @@
-#      $NetBSD: Makefile.inc,v 1.16 2000/12/13 07:14:43 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.17 2002/07/10 04:29:06 thorpej Exp $
 
 KMSRCS=        bcmp.S bcopy.S bzero.S ffs.S index.S rindex.S \
        memchr.S memcmp.S memcpy.S memmove.S memset.S \
        strcat.S strchr.S strcmp.S strcpy.S strlen.S strrchr.S
+
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/m68k/Makefile.inc
--- a/lib/libc/arch/m68k/Makefile.inc   Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/m68k/Makefile.inc   Wed Jul 10 04:29:05 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.7 1999/01/15 13:31:18 bouyer Exp $
+#      $NetBSD: Makefile.inc,v 1.8 2002/07/10 04:29:07 thorpej Exp $
 
 KMINCLUDES=    arch/m68k/DEFS.h arch/m68k/SYS.h
 KMSRCS=        bcmp.S bcopy.S bzero.S ffs.S index.S rindex.S \
@@ -7,3 +7,5 @@
        htonl.S htons.S ntohl.S ntohs.S \
        ashldi3.S ashrdi3.S lshrdi3.S \
        bswap16.S bswap32.S bswap64.S
+
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/mips/Makefile.inc
--- a/lib/libc/arch/mips/Makefile.inc   Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/mips/Makefile.inc   Wed Jul 10 04:29:05 2002 +0000
@@ -1,4 +1,6 @@
-#      $NetBSD: Makefile.inc,v 1.4 2000/03/05 05:41:52 shin Exp $
+#      $NetBSD: Makefile.inc,v 1.5 2002/07/10 04:29:07 thorpej Exp $
 
 KMINCLUDES=
 KMSRCS=
+
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/ns32k/Makefile.inc
--- a/lib/libc/arch/ns32k/Makefile.inc  Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/ns32k/Makefile.inc  Wed Jul 10 04:29:05 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.13 1999/01/15 13:31:19 bouyer Exp $
+#      $NetBSD: Makefile.inc,v 1.14 2002/07/10 04:29:07 thorpej Exp $
 
 KMINCLUDES= arch/ns32k/SYS.h
 KMSRCS=        bcmp.S bcopy.S bzero.S ffs.S \
@@ -8,3 +8,5 @@
 SRCS+= ${ASSRCS}
 LSRCS+= ${ASSRCS:S/S$/c/g:C/^./Lint_&/g}
 DPSRCS+=${ASSRCS:S/S$/c/g:C/^./Lint_&/g}
+
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/powerpc/Makefile.inc
--- a/lib/libc/arch/powerpc/Makefile.inc        Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/powerpc/Makefile.inc        Wed Jul 10 04:29:05 2002 +0000
@@ -1,8 +1,10 @@
-#      $NetBSD: Makefile.inc,v 1.5 2002/02/20 22:45:04 eeh Exp $
+#      $NetBSD: Makefile.inc,v 1.6 2002/07/10 04:29:08 thorpej Exp $
 
 KMINCLUDES=
 KMSRCS=        
 
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
+
 .if (${MKSOFTFLOAT} != "no")
 CPPFLAGS+= -DSOFTFLOAT_NEED_FIXUNS
 .include <softfloat/Makefile.inc>
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/sh3/Makefile.inc
--- a/lib/libc/arch/sh3/Makefile.inc    Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/sh3/Makefile.inc    Wed Jul 10 04:29:05 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.2 2000/06/06 17:28:37 tsubai Exp $
+#      $NetBSD: Makefile.inc,v 1.3 2002/07/10 04:29:08 thorpej Exp $
 
 KMINCLUDES=    arch/sh3/SYS.h
 CPPFLAGS+=      -DSOFTFLOAT
@@ -7,3 +7,5 @@
 
 #KMSRCS=       bcmp.S bzero.S ffs.S strcat.S strcmp.S strcpy.S strlen.S \
 #      htonl.S htons.S ntohl.S ntohs.S
+
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/sparc/Makefile.inc
--- a/lib/libc/arch/sparc/Makefile.inc  Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/sparc/Makefile.inc  Wed Jul 10 04:29:05 2002 +0000
@@ -1,10 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.6 1997/10/09 10:07:50 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.7 2002/07/10 04:29:09 thorpej Exp $
 
 KMINCLUDES= arch/sparc/SYS.h
 KMSRCS=        bzero.S ffs.S strlen.S htonl.S htons.S \
        ntohl.S ntohs.S divrem.m4 \
        _setjmp.S mul.S saveregs.S setjmp.S umul.S
 
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
+
 # `source' files built from m4 source
 # the name `div.o' is taken for the ANSI C `div' function, hence sdiv here
 SRCS+= rem.S sdiv.S udiv.S urem.S
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/sparc64/Makefile.inc
--- a/lib/libc/arch/sparc64/Makefile.inc        Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/sparc64/Makefile.inc        Wed Jul 10 04:29:05 2002 +0000
@@ -1,10 +1,12 @@
-#      $NetBSD: Makefile.inc,v 1.5 2002/05/22 10:20:20 bjh21 Exp $
+#      $NetBSD: Makefile.inc,v 1.6 2002/07/10 04:29:09 thorpej Exp $
 
 KMINCLUDES= arch/sparc64/SYS.h
 KMSRCS=        bzero.S ffs.S strlen.S htonl.S htons.S \
        ntohl.S ntohs.S divrem.m4 \
        _setjmp.S mul.S saveregs.S setjmp.S umul.S
 
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
+
 # Some assembler files use v9a extensions.
 AFLAGS+= -Wa,-Av9a
 
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/vax/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libc/arch/vax/Makefile.inc    Wed Jul 10 04:29:05 2002 +0000
@@ -0,0 +1,3 @@
+#      $NetBSD: Makefile.inc,v 1.1 2002/07/10 04:29:10 thorpej Exp $
+
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/arch/x86_64/Makefile.inc
--- a/lib/libc/arch/x86_64/Makefile.inc Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/arch/x86_64/Makefile.inc Wed Jul 10 04:29:05 2002 +0000
@@ -1,5 +1,7 @@
-#      $NetBSD: Makefile.inc,v 1.1 2001/06/19 00:25:01 fvdl Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2002/07/10 04:29:10 thorpej Exp $
 
 KMSRCS=        bcmp.S bcopy.S bzero.S ffs.S index.S rindex.S \
        memchr.S memcmp.S memcpy.S memmove.S memset.S \
        strcat.S strchr.S strcmp.S strcpy.S strlen.S strrchr.S
+
+SRCS+= __sigaction14_sigtramp.c __sigtramp1.S
diff -r a6cd39d2104f -r 7457e41df2b9 lib/libc/sys/Makefile.inc
--- a/lib/libc/sys/Makefile.inc Wed Jul 10 03:27:23 2002 +0000
+++ b/lib/libc/sys/Makefile.inc Wed Jul 10 04:29:05 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.124 2002/01/29 19:01:18 tv Exp $
+#      $NetBSD: Makefile.inc,v 1.125 2002/07/10 04:29:10 thorpej Exp $
 #      @(#)Makefile.inc        8.3 (Berkeley) 10/24/94
 
 # sys sources
@@ -64,9 +64,9 @@
        sendto.S setegid.S seteuid.S setgid.S setgroups.S setitimer.S \
        setpgid.S setpriority.S setregid.S setreuid.S setrlimit.S \
        setsid.S setsockopt.S setuid.S \
-       __shmctl13.S shmdt.S shmget.S shutdown.S __sigaction14.S \
+       __shmctl13.S shmdt.S shmget.S shutdown.S \
        __sigaltstack14.S __sigpending14.S __sigprocmask14.S __sigsuspend14.S \
-       socket.S socketpair.S __stat13.S statfs.S \
+       __sigaction_sigtramp.S socket.S socketpair.S __stat13.S statfs.S \
        swapctl.S symlink.S umask.S undelete.S unlink.S \
        unmount.S utimes.S utrace.S vadvise.S wait4.S write.S writev.S \
        __sysctl.S \



Home | Main Index | Thread Index | Old Index