* 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.
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.
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);
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);
-/* 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
__set_errno (ENOSYS);
return -1;
}
+libc_hidden_def (__fork)
stub_warning (fork)
weak_alias (__fork, fork)
-/* 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
{
return __fork ();
}
+libc_hidden_def (__vfork)
weak_alias (__vfork, vfork)
return err ? __hurd_fail (err) : pid;
}
+libc_hidden_def (__fork)
weak_alias (__fork, fork)
and r0, r0, r1
RETINSTR(mov, pc, r14)
PSEUDO_END (__fork)
+strong_alias (__fork, __GI___fork)
weak_alias (__fork, fork)
-/* 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
movel d0, _errno
moveq #-1, d0
jmp a0@
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
-/* 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
decl r1
andl r1, r0
ret
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
-/* 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).
cmovne a4, 0, v0
ret
.end __fork
+strong_alias (__fork, __GI___fork)
weak_alias (__fork, fork)
-/* 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
movel d0, _errno
moveq #-1, d0
jmp a0@
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
-/* 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).
ret
nop
.end __vfork
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
-/* 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
movl r0, _errno
mnegl $1, r0
jmp (r2)
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
andl r1, r0
ret
PSEUDO_END (__fork)
+strong_alias (__fork, __GI___fork)
weak_alias (__fork, fork)
andl r1, r0
ret
PSEUDO_END (__fork)
+strong_alias (__fork, __GI___fork)
weak_alias (__fork, fork)
-/* 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).
parent:
ret
.end __fork
+strong_alias (__fork, __GI___fork)
weak_alias (__fork, fork)
-/* 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
sub %o1, 1, %o1
retl
and %o0, %o1, %o0
+strong_alias (__fork, __GI___fork)
weak_alias (__fork, fork)
-/* 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
sub %o1, 1, %o1
retl
and %o0, %o1, %o0
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
{
return kfork ();
}
+libc_hidden_def (__fork)
strong_alias (__fork, fork)
-/* 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>.
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)
-/* 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
Ret
nop
PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
ret
#endif
PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
-/* 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
PSEUDO_END(__libc_fork)
weak_alias (__libc_fork, __fork)
+strong_alias (__fork, __GI___fork)
weak_alias (__libc_fork, fork)
-/* 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
(p6) br.cond.spnt.few __syscall_error
ret
PSEUDO_END(__vfork)
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
-/* 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>.
rts
PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
-/* 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
1:
rts
nop
-
+
PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
-/* 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.
PSEUDO_END (__libc_fork)
weak_alias (__libc_fork, __fork)
+strong_alias (__fork, __GI___fork)
weak_alias (__libc_fork, fork)
-/* 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.
and %o0, %o1, %o0
PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)
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
ret
PSEUDO_END (__vfork)
+strong_alias (__vfork, __GI___vfork)
weak_alias (__vfork, vfork)