]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 31 Dec 2002 11:12:11 +0000 (11:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 31 Dec 2002 11:12:11 +0000 (11:12 +0000)
* include/unistd.h: Add libc_hidden_proto for __fork and __vfork.
* sysdeps/generic/fork.c: Add libc_hidden_def for __fork.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/unix/sysv/aix/fork.c: Likewise.
* sysdeps/unix/fork.S: Add __GI___fork alias.
* sysdeps/unix/arm/fork.S: Likewise.
* sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
* sysdeps/unix/i386/fork.S: Likewise.
* sysdeps/unix/mips/fork.S: Likewise.
* sysdeps/unix/sparc/fork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork.
* sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias.
* sysdeps/unix/bsd/i386/vfork.S: Likewise.
* sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
* sysdeps/unix/bsd/vax/vfork.S: Likewise.
* sysdeps/unix/sparc/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/cris/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.

29 files changed:
ChangeLog
include/unistd.h
sysdeps/generic/fork.c
sysdeps/generic/vfork.c
sysdeps/mach/hurd/fork.c
sysdeps/unix/arm/fork.S
sysdeps/unix/bsd/hp/m68k/vfork.S
sysdeps/unix/bsd/i386/vfork.S
sysdeps/unix/bsd/osf/alpha/fork.S
sysdeps/unix/bsd/sun/m68k/vfork.S
sysdeps/unix/bsd/ultrix4/mips/vfork.S
sysdeps/unix/bsd/vax/vfork.S
sysdeps/unix/fork.S
sysdeps/unix/i386/fork.S
sysdeps/unix/mips/fork.S
sysdeps/unix/sparc/fork.S
sysdeps/unix/sparc/vfork.S
sysdeps/unix/sysv/aix/fork.c
sysdeps/unix/sysv/linux/arm/vfork.S
sysdeps/unix/sysv/linux/cris/vfork.S
sysdeps/unix/sysv/linux/i386/vfork.S
sysdeps/unix/sysv/linux/ia64/fork.S
sysdeps/unix/sysv/linux/ia64/vfork.S
sysdeps/unix/sysv/linux/m68k/vfork.S
sysdeps/unix/sysv/linux/sh/vfork.S
sysdeps/unix/sysv/linux/sparc/fork.S
sysdeps/unix/sysv/linux/sparc/vfork.S
sysdeps/unix/sysv/linux/syscalls.list
sysdeps/unix/sysv/linux/x86_64/vfork.S

index f3c01c93a0d02b9081589cadbf95c65508f57c18..955d10a45fe796c72b3ff501c4671c1a22335a7e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,34 @@
 2002-12-31  Ulrich Drepper  <drepper@redhat.com>
 
+       * include/unistd.h: Add libc_hidden_proto for __fork and __vfork.
+       * sysdeps/generic/fork.c: Add libc_hidden_def for __fork.
+       * sysdeps/mach/hurd/fork.c: Likewise.
+       * sysdeps/unix/sysv/aix/fork.c: Likewise.
+       * sysdeps/unix/fork.S: Add __GI___fork alias.
+       * sysdeps/unix/arm/fork.S: Likewise.
+       * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
+       * sysdeps/unix/i386/fork.S: Likewise.
+       * sysdeps/unix/mips/fork.S: Likewise.
+       * sysdeps/unix/sparc/fork.S: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
+       * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
+       * sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork.
+       * sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias.
+       * sysdeps/unix/bsd/i386/vfork.S: Likewise.
+       * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
+       * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
+       * sysdeps/unix/bsd/vax/vfork.S: Likewise.
+       * sysdeps/unix/sparc/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/cris/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
+
        * include/time.h: Add libc_hidden_proto for __nanosleep.
        * sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep.
        * sysdeps/mach/nanosleep.c: Likewise.
index ab6fd671de00a88f352d4fd17b49e6c9fb24f67a..7481af7bc7672aeddcc1a10789046bb32f395a46 100644 (file)
@@ -104,6 +104,7 @@ libc_hidden_proto (__getresgid)
 libc_hidden_proto (__setresuid)
 libc_hidden_proto (__setresgid)
 extern __pid_t __vfork (void);
+libc_hidden_proto (__vfork)
 extern int __ttyname_r (int __fd, char *__buf, size_t __buflen);
 extern int __isatty (int __fd);
 extern int __link (__const char *__from, __const char *__to);
@@ -123,6 +124,7 @@ libc_hidden_proto (__read)
 extern ssize_t __write (int __fd, __const void *__buf, size_t __n);
 libc_hidden_proto (__write)
 extern __pid_t __fork (void);
+libc_hidden_proto (__fork)
 extern int __getpagesize (void) __attribute__ ((__const__));
 libc_hidden_proto (__getpagesize)
 extern int __ftruncate (int __fd, __off_t __length);
index d1ad534a738496844ad28ba8e86d3ee0a2ab758b..c19fa656b37aea3cf18233315f10157cc6c3bbcd 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,6 +29,7 @@ __fork ()
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (__fork)
 stub_warning (fork)
 
 weak_alias (__fork, fork)
index 08f978e1add4f8b86749e65ba1a4c4534a276221..d15841d71296e9f71b887038761a74cde10efd56 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1997, 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,5 +26,6 @@ __vfork (void)
 {
   return __fork ();
 }
+libc_hidden_def (__vfork)
 
 weak_alias (__vfork, vfork)
index b64a83d766cac43fd09e9e5cc9ab54e4351c48d5..c3f8a1a86b60e348d7e6bb9fae65ddaada9aaada 100644 (file)
@@ -692,5 +692,6 @@ __fork (void)
 
   return err ? __hurd_fail (err) : pid;
 }
+libc_hidden_def (__fork)
 
 weak_alias (__fork, fork)
index deb22548e2f64f9082db3c4d4ccc311eda48bdad..19981451b6ea27f690d09179e123f913c0a9fe96 100644 (file)
@@ -29,5 +29,6 @@ SYSCALL__ (fork, 0)
        and r0, r0, r1
        RETINSTR(mov, pc, r14)
 PSEUDO_END (__fork)
+strong_alias (__fork, __GI___fork)
 
 weak_alias (__fork, fork)
index 4bb5939dbe4c1e97661755fab6f2442e41bfc0a7..0e15a5089d5dccddef85869699742b3ee196c5cb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1994, 1995, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -51,5 +51,6 @@ error:
        movel d0, _errno
        moveq #-1, d0
        jmp a0@
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index 80060066bee941b0330f875438fb7768ad88ed83..dfcbe4882175479a6a13debb9886c8f2039dcc3b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1994, 1995, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -35,5 +35,6 @@ ENTRY (__vfork)
        decl r1
        andl r1, r0
        ret
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index 90cf4bd9c86681e631f0209102b7f2f60ad95a80..13b12239baee53c3f14059c3e806ddcf46754bf1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -23,5 +23,6 @@ SYSCALL__ (fork, 0)
        cmovne a4, 0, v0
        ret
        .end __fork
+strong_alias (__fork, __GI___fork)
 
 weak_alias (__fork, fork)
index fe0309e3aa84d536d28c872182ef275b4b8d2560..006688936bbf4201a7bc8317f1b6b2bf44286f13 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 94, 95, 97, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -51,5 +51,6 @@ error:
        movel d0, _errno
        moveq #-1, d0
        jmp a0@
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index 9541eafbae2a12893772af4a62edd99de085f357..80e7328c71a6fd3d6159227f86214db4beea89aa 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -31,5 +31,6 @@ parent:
        ret
        nop
        .end __vfork
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index 8098b0eca631daeda521d5c701cba51bb92adf29..16f0e98bb2ce3b8063ffa681e94b44b538bb950e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -52,5 +52,6 @@ error:
        movl r0, _errno
        mnegl $1, r0
        jmp (r2)
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index 49bf6c4e5413cbcab23a7002b5959beede5bbf68..0a71520ac881e1231dbacbe01ab43be512ab2086 100644 (file)
@@ -29,5 +29,6 @@ SYSCALL__ (fork, 0)
        andl r1, r0
        ret
 PSEUDO_END (__fork)
+strong_alias (__fork, __GI___fork)
 
 weak_alias (__fork, fork)
index 6d5ed5bbbdebad6415e8def94e38824f4a43e58c..a33a0b9d9a4ade61d28e81376b9481a83ae684c4 100644 (file)
@@ -27,5 +27,6 @@ SYSCALL__ (fork, 0)
        andl r1, r0
        ret
 PSEUDO_END (__fork)
+strong_alias (__fork, __GI___fork)
 
 weak_alias (__fork, fork)
index 327321603097369f759caaca5574a8bb2d5bcb68..dcec9656714517964b855e3987d44f0539e4971b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -27,5 +27,6 @@ SYSCALL__ (fork, 0)
 parent:
        ret
        .end __fork
+strong_alias (__fork, __GI___fork)
 
 weak_alias (__fork, fork)
index 8ed343b80d09cc17c2e8cc83b36f90c8c3d08587..735a9599b7338bf0f9edb7c0a7145b15bad2fc10 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 94, 95, 97, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 94, 95, 97, 99, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,5 +26,6 @@ SYSCALL__ (fork, 0)
        sub %o1, 1, %o1
        retl
        and %o0, %o1, %o0
+strong_alias (__fork, __GI___fork)
 
 weak_alias (__fork, fork)
index 071ac728d98277bdd960c4e8d7f63383824f51c8..0eb1080cf892902c1056d749dd40d978affaa3bb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 94, 95, 97, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 94, 95, 97, 99, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -30,5 +30,6 @@ SYSCALL__ (vfork, 0)
        sub %o1, 1, %o1
        retl
        and %o0, %o1, %o0
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index f3b02c9870ae9031c08f6a5bf3ffd246b3f818ac..478d4afad11c6edcadd614cc1d0ee1b3672dc0d0 100644 (file)
@@ -25,4 +25,5 @@ __fork (void)
 {
   return kfork ();
 }
+libc_hidden_def (__fork)
 strong_alias (__fork, fork)
index b10117e9f8eb10392aeeba9291b6d230993d046d..3364c686d620ff1b41561f391664c1fa688b1b35 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Philip Blundell <philb@gnu.org>.
 
@@ -44,7 +44,8 @@ ENTRY (__vfork)
        cmn     a1, #4096
        RETINSTR(movcc, pc, lr)
        b       PLTJMP(C_SYMBOL_NAME(__syscall_error))
-       
+
 PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index 39985a08a5a8bbab3bded43ccfb38b7bcdd365a3..f471efe0a5fc1608282f6e090e448e70acef293a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,5 +22,6 @@ PSEUDO (__vfork, vfork, 0)
        Ret
        nop
 PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index 59657e49c02b1a15c3d6349e763cde24a4521e9d..a3ff0d4eefa75f185a45290ed4aae2775665048e 100644 (file)
@@ -73,5 +73,6 @@ ENTRY (__vfork)
        ret
 #endif
 PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index 33123a4e14861d5ba7d5f9a17a4439bfb7affc08..22f67c1ce857fd61f3a02d61c88e1d6a1d072ec4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -38,4 +38,5 @@ ENTRY(__libc_fork)
 PSEUDO_END(__libc_fork)
 
 weak_alias (__libc_fork, __fork)
+strong_alias (__fork, __GI___fork)
 weak_alias (__libc_fork, fork)
index 2567c9937d60bb43b5f8c53acaf04336798f5e2a..89d216f1b912a87b52aecf5f948c0c9889fce1ee 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -40,5 +40,6 @@ ENTRY(__vfork)
 (p6)   br.cond.spnt.few __syscall_error
        ret
 PSEUDO_END(__vfork)
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index b77a7bd15fbab52369e4b0531725f1f91df7d2d6..8968caece786fa16a15644726b6bab9654eeaab2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Schwab <schwab@gnu.org>.
 
@@ -62,5 +62,6 @@ ENTRY (__vfork)
        rts
 
 PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index fb0a3a96cbcf827c1cbd022511980dd9d840a2a3..92426892a39bd1f79fe20a4e63718cf7f42b5826 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -107,7 +107,8 @@ ENTRY (__vfork)
 1:
        rts
         nop
-       
+
 PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)
index 870d9608c178f7ff462c25c9e7b85e1597966ef3..8d017398e100e986687ca68321eaa6ca6c69a882 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Miguel de Icaza <miguel@gnu.ai.mit.edu>, 1997.
 
@@ -26,4 +26,5 @@ PSEUDO (__libc_fork, fork, 0)
 PSEUDO_END (__libc_fork)
 
 weak_alias (__libc_fork, __fork)
+strong_alias (__fork, __GI___fork)
 weak_alias (__libc_fork, fork)
index 2eae524c5bb62eee5f709b72c446ac7d650b3e71..c5753a363a8538e8726cb3e157a9d1cabaacaf9d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jj@ultra.linux.cz>, 1999.
 
@@ -25,4 +25,5 @@ PSEUDO (__vfork, vfork, 0)
         and    %o0, %o1, %o0
 
 PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
 weak_alias (__vfork, vfork)
index 5e11be0ea0ba136df37aaa12698ea4492653b7d8..6a1b5415ade686ae8f38c833a2dcb6b049f4e9af 100644 (file)
@@ -12,7 +12,7 @@ epoll_ctl     EXTRA   epoll_ctl       i:iiip  epoll_ctl
 epoll_wait     EXTRA   epoll_wait      i:ipii  epoll_wait
 fdatasync      -       fdatasync       i:i     fdatasync
 flock          -       flock           i:ii    __flock         flock
-fork           -       fork            i:      __libc_fork     __fork fork
+fork           -       fork            i:      __libc_fork     __fork fork __GI___fork
 get_kernel_syms        EXTRA   get_kernel_syms i:p     get_kernel_syms
 getegid                -       getegid         i:      __getegid       getegid
 geteuid                -       geteuid         i:      __geteuid       geteuid
index 3315df7253fb349000cc3614c3885db347bb95e1..fea24e4d98018087f6ac28b9b74676b35543c900 100644 (file)
@@ -46,5 +46,6 @@ ENTRY (__vfork)
        ret
 
 PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
 
 weak_alias (__vfork, vfork)