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/alpha/sys Pull up rev. 1.3 (approved by t...



details:   https://anonhg.NetBSD.org/src/rev/3be95ae10ad2
branches:  netbsd-1-5
changeset: 489147:3be95ae10ad2
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Aug 21 17:35:59 2000 +0000

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

diffstat:

 lib/libc/arch/alpha/sys/fork.S |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 1d69b86f130e -r 3be95ae10ad2 lib/libc/arch/alpha/sys/fork.S
--- a/lib/libc/arch/alpha/sys/fork.S    Mon Aug 21 17:35:01 2000 +0000
+++ b/lib/libc/arch/alpha/sys/fork.S    Mon Aug 21 17:35:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fork.S,v 1.2 2000/06/14 06:49:03 cgd Exp $ */
+/* $NetBSD: fork.S,v 1.2.2.1 2000/08/21 17:35:59 kleink Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -29,7 +29,12 @@
 
 #include "SYS.h"
 
-SYSCALL(fork)
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(fork, _fork)
+#endif
+
+LEAF(_fork, 0)
+       CALLSYS_ERROR(fork)
        cmovne  a4, zero, v0            /* a4 (rv[1]) != 0, child */
        RET
 END(fork)



Home | Main Index | Thread Index | Old Index