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/sparc64/sys Pull up rev. 1.2 (approved by...



details:   https://anonhg.NetBSD.org/src/rev/24bbeae10815
branches:  netbsd-1-5
changeset: 489190:24bbeae10815
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Aug 22 07:27:25 2000 +0000

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

diffstat:

 lib/libc/arch/sparc64/sys/fork.S |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r c02812a7803e -r 24bbeae10815 lib/libc/arch/sparc64/sys/fork.S
--- a/lib/libc/arch/sparc64/sys/fork.S  Tue Aug 22 07:27:22 2000 +0000
+++ b/lib/libc/arch/sparc64/sys/fork.S  Tue Aug 22 07:27:25 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fork.S,v 1.1 1998/09/11 04:56:34 eeh Exp $     */
+/*     $NetBSD: fork.S,v 1.1.10.1 2000/08/22 07:27:25 kleink Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -44,13 +44,17 @@
 #if 0
        .asciz "@(#)fork.s      8.1 (Berkeley) 6/4/93"
 #else
-       RCSID("$NetBSD: fork.S,v 1.1 1998/09/11 04:56:34 eeh Exp $")
+       RCSID("$NetBSD: fork.S,v 1.1.10.1 2000/08/22 07:27:25 kleink Exp $")
 #endif
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
 
-SYSCALL(fork)
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(fork, _fork)
+#endif
+
+_SYSCALL(_fork,fork)
        dec     %o1             ! from 1 to 0 in child, 0 to -1 in parent
        retl
-       and     %o0, %o1, %o0   ! return 0 in child, pid in parent
+        and    %o0, %o1, %o0   ! return 0 in child, pid in parent



Home | Main Index | Thread Index | Old Index