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



details:   https://anonhg.NetBSD.org/src/rev/3bf510d724f1
branches:  netbsd-1-5
changeset: 489183:3bf510d724f1
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Aug 22 07:19:38 2000 +0000

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

diffstat:

 lib/libc/arch/sh3/sys/fork.S |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 212fe149fd76 -r 3bf510d724f1 lib/libc/arch/sh3/sys/fork.S
--- a/lib/libc/arch/sh3/sys/fork.S      Tue Aug 22 07:18:25 2000 +0000
+++ b/lib/libc/arch/sh3/sys/fork.S      Tue Aug 22 07:19:38 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fork.S,v 1.2 2000/03/27 16:27:16 msaitoh Exp $ */
+/*     $NetBSD: fork.S,v 1.2.4.1 2000/08/22 07:19:38 kleink Exp $      */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,17 +40,21 @@
 
 #include <machine/asm.h>
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: fork.S,v 1.2 2000/03/27 16:27:16 msaitoh Exp $")
+       RCSID("$NetBSD: fork.S,v 1.2.4.1 2000/08/22 07:19:38 kleink Exp $")
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
 
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(fork, _fork)
+#endif
+
        .text 
        .align 2
 2:     mov.l 1f, r3
        jmp     @r3                                                     
        nop
-       _SYSCALL_NOERROR(fork,fork)
+       _SYSCALL_NOERROR(_fork,fork)
        bf 2b
        bra 3f
        nop
@@ -62,8 +66,8 @@
        and     r1,r0
 
 #if 0
-SYSCALL(fork)
+_SYSCALL(_fork,fork)
        decl    %edx    /* from 1 to 0 in child, 0 to -1 in parent */
        andl    %edx,%eax
        ret             /* pid = fork(); */
-#endif
\ No newline at end of file
+#endif



Home | Main Index | Thread Index | Old Index