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



details:   https://anonhg.NetBSD.org/src/rev/ad3d582d0353
branches:  netbsd-1-5
changeset: 489180:ad3d582d0353
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Aug 22 07:17:06 2000 +0000

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

diffstat:

 lib/libc/arch/powerpc/sys/fork.S |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r a35cd6fe8d84 -r ad3d582d0353 lib/libc/arch/powerpc/sys/fork.S
--- a/lib/libc/arch/powerpc/sys/fork.S  Tue Aug 22 07:16:25 2000 +0000
+++ b/lib/libc/arch/powerpc/sys/fork.S  Tue Aug 22 07:17:06 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fork.S,v 1.2 1998/05/25 15:28:03 ws Exp $      */
+/*     $NetBSD: fork.S,v 1.2.10.1 2000/08/22 07:17:06 kleink Exp $     */
 
 /*
  * pid = fork();
@@ -9,7 +9,11 @@
 
 #include "SYS.h"
 
-SYSCALL(fork)
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(fork, _fork)
+#endif
+
+_SYSCALL(_fork,fork)
        addi    4,4,-1          # from 1 to 0 in child, 0 to -1 in parent
        and     3,3,4           # return 0 in child, pid in parent
        blr



Home | Main Index | Thread Index | Old Index