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/m68k/sys Pull up rev. 1.5 (approved by th...
details: https://anonhg.NetBSD.org/src/rev/aa7277aeed7c
branches: netbsd-1-5
changeset: 489171:aa7277aeed7c
user: kleink <kleink%NetBSD.org@localhost>
date: Tue Aug 22 07:08:20 2000 +0000
description:
Pull up rev. 1.5 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
diffstat:
lib/libc/arch/m68k/sys/fork.S | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 97cdd73008bb -r aa7277aeed7c lib/libc/arch/m68k/sys/fork.S
--- a/lib/libc/arch/m68k/sys/fork.S Tue Aug 22 07:07:36 2000 +0000
+++ b/lib/libc/arch/m68k/sys/fork.S Tue Aug 22 07:08:20 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fork.S,v 1.4 1999/10/25 23:48:17 thorpej Exp $ */
+/* $NetBSD: fork.S,v 1.4.6.1 2000/08/22 07:08:20 kleink Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -43,11 +43,15 @@
#if 0
RCSID("from: @(#)fork.s 5.1 (Berkeley) 5/12/90")
#else
- RCSID("$NetBSD: fork.S,v 1.4 1999/10/25 23:48:17 thorpej Exp $")
+ RCSID("$NetBSD: fork.S,v 1.4.6.1 2000/08/22 07:08:20 kleink Exp $")
#endif
#endif /* LIBC_SCCS and not lint */
-SYSCALL(fork)
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(fork, _fork)
+#endif
+
+_SYSCALL(_fork,fork)
subql #1,%d1 /* from 1 to 0 in child, 0 to -1 in parent */
andl %d1,%d0
rts /* pid = fork() */
Home |
Main Index |
Thread Index |
Old Index