Source-Changes-HG archive

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

[src/netbsd-1-5]: src/lib/libc/arch/i386/sys Pull up rev. 1.7 (approved by th...



details:   https://anonhg.NetBSD.org/src/rev/ddcd62450c2d
branches:  netbsd-1-5
changeset: 489156:ddcd62450c2d
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Aug 21 17:43:18 2000 +0000

description:
Pull up rev. 1.7 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().

diffstat:

 lib/libc/arch/i386/sys/fork.S |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 048fc3b4e51e -r ddcd62450c2d lib/libc/arch/i386/sys/fork.S
--- a/lib/libc/arch/i386/sys/fork.S     Mon Aug 21 17:42:03 2000 +0000
+++ b/lib/libc/arch/i386/sys/fork.S     Mon Aug 21 17:43:18 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fork.S,v 1.6 1997/07/16 14:37:30 christos Exp $        */
+/*     $NetBSD: fork.S,v 1.6.12.1 2000/08/21 17:43:18 kleink Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,12 +40,16 @@
 
 #include <machine/asm.h>
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: fork.S,v 1.6 1997/07/16 14:37:30 christos Exp $")
+       RCSID("$NetBSD: fork.S,v 1.6.12.1 2000/08/21 17:43:18 kleink Exp $")
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
 
-SYSCALL(fork)
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(fork, _fork)
+#endif
+
+_SYSCALL(_fork,fork)
        decl    %edx    /* from 1 to 0 in child, 0 to -1 in parent */
        andl    %edx,%eax
        ret             /* pid = fork(); */



Home | Main Index | Thread Index | Old Index