Source-Changes-HG archive

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

[src/trunk]: src/lib/libc compat core reorg.



details:   https://anonhg.NetBSD.org/src/rev/febabecb48af
branches:  trunk
changeset: 584313:febabecb48af
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 13 01:44:08 2005 +0000

description:
compat core reorg.

diffstat:

 lib/libc/Makefile                                    |     3 +-
 lib/libc/arch/i386/Makefile.inc                      |     4 +-
 lib/libc/arch/i386/gen/Makefile.inc                  |     6 +-
 lib/libc/arch/i386/gen/__setjmp14.S                  |   109 -
 lib/libc/arch/i386/gen/__sigsetjmp14.S               |   109 -
 lib/libc/arch/i386/gen/setjmp.S                      |    50 +-
 lib/libc/arch/i386/gen/sigsetjmp.S                   |    71 +-
 lib/libc/arch/i386/sys/Ovfork.S                      |    70 -
 lib/libc/arch/i386/sys/__semctl.S                    |    42 -
 lib/libc/arch/i386/sys/__sigaction14_sigtramp.c      |    10 +-
 lib/libc/arch/i386/sys/__sigreturn14.S               |    59 -
 lib/libc/arch/i386/sys/__sigtramp1.S                 |    58 -
 lib/libc/arch/i386/sys/msgctl.S                      |    45 -
 lib/libc/arch/i386/sys/shmctl.S                      |    45 -
 lib/libc/arch/i386/sys/sigaction.S                   |    45 -
 lib/libc/arch/i386/sys/sigpending.S                  |    51 -
 lib/libc/arch/i386/sys/sigprocmask.S                 |    73 -
 lib/libc/arch/i386/sys/sigreturn.S                   |    62 -
 lib/libc/arch/i386/sys/sigsuspend.S                  |    63 -
 lib/libc/compat-43/sigcompat.c                       |    30 +-
 lib/libc/compat/Makefile.inc                         |    17 +
 lib/libc/compat/arch/i386/Makefile.inc               |     4 +
 lib/libc/compat/arch/i386/gen/Makefile.inc           |    10 +
 lib/libc/compat/arch/i386/gen/compat__setjmp.S       |    77 +
 lib/libc/compat/arch/i386/gen/compat_setjmp.S        |   101 +
 lib/libc/compat/arch/i386/gen/compat_sigsetjmp.S     |    98 +
 lib/libc/compat/arch/i386/sys/Makefile.inc           |     6 +
 lib/libc/compat/arch/i386/sys/compat_Ovfork.S        |    70 +
 lib/libc/compat/arch/i386/sys/compat___semctl.S      |    42 +
 lib/libc/compat/arch/i386/sys/compat___sigreturn14.S |    59 +
 lib/libc/compat/arch/i386/sys/compat___sigtramp1.S   |    58 +
 lib/libc/compat/arch/i386/sys/compat_msgctl.S        |    45 +
 lib/libc/compat/arch/i386/sys/compat_shmctl.S        |    45 +
 lib/libc/compat/arch/i386/sys/compat_sigaction.S     |    45 +
 lib/libc/compat/arch/i386/sys/compat_sigpending.S    |    51 +
 lib/libc/compat/arch/i386/sys/compat_sigprocmask.S   |    73 +
 lib/libc/compat/arch/i386/sys/compat_sigreturn.S     |    62 +
 lib/libc/compat/arch/i386/sys/compat_sigsuspend.S    |    63 +
 lib/libc/compat/db/Makefile.inc                      |     2 +
 lib/libc/compat/db/hash/Makefile.inc                 |     4 +
 lib/libc/compat/db/hash/compat_ndbmdatum.c           |    31 +
 lib/libc/compat/gen/Makefile.inc                     |     8 +
 lib/libc/compat/gen/compat___fts13.c                 |    50 +
 lib/libc/compat/gen/compat__sys_errlist.c            |    45 +
 lib/libc/compat/gen/compat__sys_nerr.c               |    17 +
 lib/libc/compat/gen/compat__sys_siglist.c            |    35 +
 lib/libc/compat/gen/compat_errlist.c                 |   153 ++
 lib/libc/compat/gen/compat_fts.c                     |    47 +
 lib/libc/compat/gen/compat_getmntinfo.c              |    88 +
 lib/libc/compat/gen/compat_glob.c                    |    30 +
 lib/libc/compat/gen/compat_opendir.c                 |    24 +
 lib/libc/compat/gen/compat_readdir.c                 |    22 +
 lib/libc/compat/gen/compat_scandir.c                 |    20 +
 lib/libc/compat/gen/compat_siglist.c                 |    79 +
 lib/libc/compat/gen/compat_signame.c                 |    77 +
 lib/libc/compat/gen/compat_sigsetops.c               |   118 +
 lib/libc/compat/gen/compat_times.c                   |    24 +
 lib/libc/compat/gen/compat_timezone.c                |   144 ++
 lib/libc/compat/gen/compat_unvis.c                   |    68 +
 lib/libc/compat/gen/compat_utmpx.c                   |    98 +
 lib/libc/compat/include/dirent.h                     |    60 +
 lib/libc/compat/include/fts.h                        |    46 +
 lib/libc/compat/include/glob.h                       |    46 +
 lib/libc/compat/include/ndbm.h                       |    53 +
 lib/libc/compat/include/setjmp.h                     |    50 +
 lib/libc/compat/include/signal.h                     |    75 +
 lib/libc/compat/include/stdlib.h                     |    42 +
 lib/libc/compat/include/time.h                       |    58 +
 lib/libc/compat/include/unistd.h                     |    78 +
 lib/libc/compat/include/utmpx.h                      |    49 +
 lib/libc/compat/include/vis.h                        |    42 +
 lib/libc/compat/stdlib/Makefile.inc                  |     5 +
 lib/libc/compat/stdlib/compat_unsetenv.c             |    84 +
 lib/libc/compat/sys/Makefile.inc                     |     7 +
 lib/libc/compat/sys/compat___stat13.c                |   116 +
 lib/libc/compat/sys/compat_getdents.c                |    88 +
 lib/libc/compat/sys/compat_getdirentries.c           |    55 +
 lib/libc/compat/sys/compat_msync.c                   |    54 +
 lib/libc/compat/sys/compat_semctl.c                  |    52 +
 lib/libc/compat/sys/compat_sigaltstack.c             |    75 +
 lib/libc/compat/sys/compat_stat.c                    |   126 +
 lib/libc/compat/sys/compat_statfs.c                  |   191 ++
 lib/libc/compat/sys/getdirentries.3                  |   164 ++
 lib/libc/db/hash/Makefile.inc                        |     4 +-
 lib/libc/db/hash/__ndbm13.c                          |   255 ---
 lib/libc/db/hash/ndbm.c                              |   121 +-
 lib/libc/db/hash/ndbmdatum.c                         |   169 ++
 lib/libc/gen/Makefile.inc                            |    26 +-
 lib/libc/gen/__errlist14.c                           |   172 --
 lib/libc/gen/__fts13.c                               |    46 -
 lib/libc/gen/__fts30.c                               |  1190 -----------------
 lib/libc/gen/__getmntinfo13.c                        |    81 -
 lib/libc/gen/__glob13.c                              |  1051 ---------------
 lib/libc/gen/__opendir30.c                           |   326 ----
 lib/libc/gen/__readdir30.c                           |   150 --
 lib/libc/gen/__scandir30.c                           |   141 --
 lib/libc/gen/__siglist14.c                           |   113 -
 lib/libc/gen/__signame14.c                           |   111 -
 lib/libc/gen/__sigsetops14.c                         |   108 -
 lib/libc/gen/__times13.c                             |    96 -
 lib/libc/gen/_err.c                                  |    23 +-
 lib/libc/gen/_errx.c                                 |    23 +-
 lib/libc/gen/_sys_errlist.c                          |    45 -
 lib/libc/gen/_sys_nerr.c                             |    17 -
 lib/libc/gen/_sys_siglist.c                          |    35 -
 lib/libc/gen/_sysconf.c                              |     6 +-
 lib/libc/gen/_verr.c                                 |    17 +-
 lib/libc/gen/_verrx.c                                |    17 +-
 lib/libc/gen/_vwarn.c                                |    17 +-
 lib/libc/gen/_vwarnx.c                               |    17 +-
 lib/libc/gen/_warn.c                                 |    23 +-
 lib/libc/gen/_warnx.c                                |    24 +-
 lib/libc/gen/err.c                                   |     8 +-
 lib/libc/gen/errlist.c                               |    45 +-
 lib/libc/gen/errx.c                                  |     8 +-
 lib/libc/gen/fts.c                                   |  1212 +++++++++++++++++-
 lib/libc/gen/getmntinfo.c                            |    24 +-
 lib/libc/gen/glob.c                                  |  1031 +++++++++++++++-
 lib/libc/gen/humanize_number.c                       |    10 +-
 lib/libc/gen/opendir.c                               |   317 ++++-
 lib/libc/gen/pthread_atfork.c                        |     6 +-
 lib/libc/gen/readdir.c                               |   142 ++-
 lib/libc/gen/scandir.c                               |   133 +-
 lib/libc/gen/siglist.c                               |   112 +-
 lib/libc/gen/signame.c                               |    44 +-
 lib/libc/gen/sigsetops.c                             |    77 +-
 lib/libc/gen/times.c                                 |    85 +-
 lib/libc/gen/timezone.c                              |   143 --
 lib/libc/gen/unvis.c                                 |    27 +-
 lib/libc/gen/utmpx.c                                 |    41 +-
 lib/libc/gen/verr.c                                  |    11 +-
 lib/libc/gen/verrx.c                                 |    11 +-
 lib/libc/gen/vwarn.c                                 |    10 +-
 lib/libc/gen/vwarnx.c                                |    10 +-
 lib/libc/gen/warn.c                                  |     8 +-
 lib/libc/gen/warnx.c                                 |     8 +-
 lib/libc/inet/_inet_aton.c                           |    14 +-
 lib/libc/inet/_inet_pton.c                           |    15 +-
 lib/libc/nls/_catclose.c                             |    13 +-
 lib/libc/nls/_catgets.c                              |    16 +-
 lib/libc/nls/_catopen.c                              |    14 +-
 lib/libc/resolv/__dn_comp.c                          |    14 +-
 lib/libc/resolv/__res_close.c                        |    12 +-
 lib/libc/resolv/__res_send.c                         |    16 +-
 lib/libc/stdio/_fileno.c                             |    13 +-
 lib/libc/stdio/_fseeko.c                             |    13 +-
 lib/libc/stdio/_ftello.c                             |    11 +-
 lib/libc/stdlib/Makefile.inc                         |     5 +-
 lib/libc/stdlib/__unsetenv13.c                       |   102 -
 lib/libc/stdlib/_strtoimax.c                         |    13 +-
 lib/libc/stdlib/_strtoll.c                           |    13 +-
 lib/libc/stdlib/_strtoull.c                          |    13 +-
 lib/libc/stdlib/_strtoumax.c                         |    13 +-
 lib/libc/stdlib/unsetenv.c                           |    82 +-
 lib/libc/string/_strerror_r.c                        |     9 +-
 lib/libc/string/_strlcat.c                           |    13 +-
 lib/libc/string/_strlcpy.c                           |    13 +-
 lib/libc/sys/Makefile.inc                            |    24 +-
 lib/libc/sys/__stat13.c                              |   115 -
 lib/libc/sys/_brk.c                                  |    11 +-
 lib/libc/sys/_fork.c                                 |    10 +-
 lib/libc/sys/_pipe.c                                 |    11 +-
 lib/libc/sys/_sbrk.c                                 |    11 +-
 lib/libc/sys/getdents.c                              |    87 -
 lib/libc/sys/getdirentries.3                         |   164 --
 lib/libc/sys/getdirentries.c                         |    54 -
 lib/libc/sys/msync.c                                 |    53 -
 lib/libc/sys/semctl.c                                |    52 -
 lib/libc/sys/sigaltstack.c                           |    74 -
 lib/libc/sys/stat.c                                  |   125 -
 lib/libc/sys/statfs.c                                |   190 --
 lib/libc/time/_daylight.c                            |     6 +-
 172 files changed, 7504 insertions(+), 6588 deletions(-)

diffs (truncated from 15975 to 300 lines):

diff -r eb17745eab8b -r febabecb48af lib/libc/Makefile
--- a/lib/libc/Makefile Tue Sep 13 01:43:29 2005 +0000
+++ b/lib/libc/Makefile Tue Sep 13 01:44:08 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.122 2005/05/30 16:04:18 thorpej Exp $
+#      $NetBSD: Makefile,v 1.123 2005/09/13 01:44:08 christos Exp $
 #      @(#)Makefile    8.2 (Berkeley) 2/3/94
 #
 # All library objects contain sccsid strings by default; they may be
@@ -87,6 +87,7 @@
 .include "${.CURDIR}/db/Makefile.inc"
 .include "${.CURDIR}/citrus/Makefile.inc"
 .include "${.CURDIR}/compat-43/Makefile.inc"
+.include "${.CURDIR}/compat/Makefile.inc"
 .include "${.CURDIR}/dlfcn/Makefile.inc"
 .include "${.CURDIR}/gen/Makefile.inc"
 .include "${.CURDIR}/gmon/Makefile.inc"
diff -r eb17745eab8b -r febabecb48af lib/libc/arch/i386/Makefile.inc
--- a/lib/libc/arch/i386/Makefile.inc   Tue Sep 13 01:43:29 2005 +0000
+++ b/lib/libc/arch/i386/Makefile.inc   Tue Sep 13 01:44:08 2005 +0000
@@ -1,7 +1,7 @@
-#      $NetBSD: Makefile.inc,v 1.18 2003/09/06 22:56:47 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.19 2005/09/13 01:44:08 christos 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 __sigtramp2.S
+SRCS+= __sigaction14_sigtramp.c __sigtramp2.S
diff -r eb17745eab8b -r febabecb48af lib/libc/arch/i386/gen/Makefile.inc
--- a/lib/libc/arch/i386/gen/Makefile.inc       Tue Sep 13 01:43:29 2005 +0000
+++ b/lib/libc/arch/i386/gen/Makefile.inc       Tue Sep 13 01:44:08 2005 +0000
@@ -1,13 +1,11 @@
-#      $NetBSD: Makefile.inc,v 1.21 2005/04/15 22:39:11 kleink Exp $
+#      $NetBSD: Makefile.inc,v 1.22 2005/09/13 01:44:08 christos Exp $
 
 # objects built from assembler sources (need lint stubs)
 SRCS+= alloca.S byte_swap_2.S byte_swap_4.S fabs.S modf.S \
        flt_rounds.S fpgetmask.S fpgetround.S fpgetsticky.S \
        fpsetmask.S fpsetround.S fpsetsticky.S 
 
-SRCS+= setjmp.S __setjmp14.S
-SRCS+= _setjmp.S
-SRCS+= sigsetjmp.S __sigsetjmp14.S
+SRCS+= setjmp.S sigsetjmp.S
 
 SRCS+= resumecontext.S swapcontext.S
 
diff -r eb17745eab8b -r febabecb48af lib/libc/arch/i386/gen/__setjmp14.S
--- a/lib/libc/arch/i386/gen/__setjmp14.S       Tue Sep 13 01:43:29 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,109 +0,0 @@
-/*     $NetBSD: __setjmp14.S,v 1.4 2003/08/07 16:42:06 agc Exp $       */
-
-/*-
- * Copyright (c) 1990 The Regents of the University of California.
- * All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * William Jolitz.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- *     from: @(#)setjmp.s      5.1 (Berkeley) 4/23/90
- */
-
-#include <machine/asm.h>
-#if defined(LIBC_SCCS)
-       RCSID("$NetBSD: __setjmp14.S,v 1.4 2003/08/07 16:42:06 agc Exp $")
-#endif
-
-/*
- * C library -- _setjmp, _longjmp
- *
- *     longjmp(a,v)
- * will generate a "return(v)" from the last call to
- *     setjmp(a)
- * by restoring registers from the stack.
- * The previous signal state is restored.
- */
-
-ENTRY(__setjmp14)
-       movl    4(%esp),%ecx
-       movl    0(%esp),%edx
-       movl    %edx, 0(%ecx)
-       movl    %ebx, 4(%ecx)
-       movl    %esp, 8(%ecx)
-       movl    %ebp,12(%ecx)
-       movl    %esi,16(%ecx)
-       movl    %edi,20(%ecx)
-
-       /* Get the signal mask. */
-       leal    24(%ecx),%edx
-
-       PIC_PROLOGUE
-       pushl   %edx
-       pushl   $0
-       pushl   $0
-#ifdef PIC
-       call    PIC_PLT(_C_LABEL(__sigprocmask14))
-#else
-       call    _C_LABEL(__sigprocmask14)
-#endif
-       addl    $12,%esp
-       PIC_EPILOGUE
-
-       xorl    %eax,%eax
-       ret
-
-ENTRY(__longjmp14)
-       /* Restore the signal mask. */
-       movl    4(%esp),%ecx
-       leal    24(%ecx),%edx
-
-       PIC_PROLOGUE
-       pushl   $0
-       pushl   %edx
-       pushl   $3                      /* SIG_SETMASK */
-#ifdef PIC
-       call    PIC_PLT(_C_LABEL(__sigprocmask14))
-#else
-       call    _C_LABEL(__sigprocmask14)
-#endif
-       addl    $12,%esp
-       PIC_EPILOGUE
-
-       movl    4(%esp),%edx
-       movl    8(%esp),%eax
-       movl    0(%edx),%ecx
-       movl    4(%edx),%ebx
-       movl    8(%edx),%esp
-       movl    12(%edx),%ebp
-       movl    16(%edx),%esi
-       movl    20(%edx),%edi
-       testl   %eax,%eax
-       jnz     1f
-       incl    %eax
-1:     movl    %ecx,0(%esp)
-       ret
diff -r eb17745eab8b -r febabecb48af lib/libc/arch/i386/gen/__sigsetjmp14.S
--- a/lib/libc/arch/i386/gen/__sigsetjmp14.S    Tue Sep 13 01:43:29 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,109 +0,0 @@
-/*     $NetBSD: __sigsetjmp14.S,v 1.5 2003/08/07 16:42:06 agc Exp $    */
-
-/*-
- * Copyright (c) 1990 The Regents of the University of California.
- * All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * William Jolitz.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- *     from: @(#)setjmp.s      5.1 (Berkeley) 4/23/90"
- */
-
-#include <machine/asm.h>
-#if defined(LIBC_SCCS)
-       RCSID("$NetBSD: __sigsetjmp14.S,v 1.5 2003/08/07 16:42:06 agc Exp $")
-#endif
-
-ENTRY(__sigsetjmp14)
-       movl    4(%esp),%ecx
-       movl    0(%esp),%edx
-       movl    %edx, 0(%ecx)
-       movl    %ebx, 4(%ecx)
-       movl    %esp, 8(%ecx)
-       movl    %ebp,12(%ecx)
-       movl    %esi,16(%ecx)
-       movl    %edi,20(%ecx)
-
-       /* Check if we should save the signal mask, and remember it. */
-       movl    8(%esp),%eax
-       movl    %eax,40(%ecx)
-       testl   %eax,%eax
-       jz      2f                      /* no, skip */
-
-       /* Get the signal mask. */
-       leal    24(%ecx),%edx
-
-       PIC_PROLOGUE
-       pushl   %edx
-       pushl   $0
-       pushl   $0
-#ifdef PIC
-       call    PIC_PLT(_C_LABEL(__sigprocmask14))
-#else
-       call    _C_LABEL(__sigprocmask14)
-#endif
-       addl    $12,%esp
-       PIC_EPILOGUE
-
-2:     xorl    %eax,%eax
-       ret
-
-ENTRY(__siglongjmp14)
-       /* Check to see if we need to restore the signal mask. */
-       movl    4(%esp),%ecx
-       cmpl    $0,40(%ecx)
-       jz      2f                      /* no, skip */
-
-       /* Restore the signal mask. */
-       leal    24(%ecx),%edx
-
-       PIC_PROLOGUE
-       pushl   $0
-       pushl   %edx
-       pushl   $3                      /* SIG_SETMASK */
-#ifdef PIC
-       call    PIC_PLT(_C_LABEL(__sigprocmask14))
-#else
-       call    _C_LABEL(__sigprocmask14)
-#endif
-       addl    $12,%esp
-       PIC_EPILOGUE
-
-2:     movl    4(%esp),%edx
-       movl    8(%esp),%eax
-       movl    0(%edx),%ecx
-       movl    4(%edx),%ebx
-       movl    8(%edx),%esp
-       movl    12(%edx),%ebp
-       movl    16(%edx),%esi
-       movl    20(%edx),%edi
-       testl   %eax,%eax
-       jnz     3f
-       incl    %eax
-3:     movl    %ecx,0(%esp)
-       ret
diff -r eb17745eab8b -r febabecb48af lib/libc/arch/i386/gen/setjmp.S
--- a/lib/libc/arch/i386/gen/setjmp.S   Tue Sep 13 01:43:29 2005 +0000
+++ b/lib/libc/arch/i386/gen/setjmp.S   Tue Sep 13 01:44:08 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setjmp.S,v 1.13 2003/08/07 16:42:07 agc Exp $  */
+/*     $NetBSD: setjmp.S,v 1.14 2005/09/13 01:44:08 christos Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -36,7 +36,7 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: setjmp.S,v 1.13 2003/08/07 16:42:07 agc Exp $")
+       RCSID("$NetBSD: setjmp.S,v 1.14 2005/09/13 01:44:08 christos Exp $")
 #endif
 
 /*
@@ -49,18 +49,7 @@
  * The previous signal state is restored.
  */
 
-ENTRY(setjmp)
-
-       PIC_PROLOGUE



Home | Main Index | Thread Index | Old Index