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/i386/sys Pull up revs. 1.13-1.14 (approve...



details:   https://anonhg.NetBSD.org/src/rev/d54491fc1244
branches:  netbsd-1-5
changeset: 489157:d54491fc1244
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Aug 21 17:43:48 2000 +0000

description:
Pull up revs. 1.13-1.14 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().

diffstat:

 lib/libc/arch/i386/sys/sbrk.S |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r ddcd62450c2d -r d54491fc1244 lib/libc/arch/i386/sys/sbrk.S
--- a/lib/libc/arch/i386/sys/sbrk.S     Mon Aug 21 17:43:18 2000 +0000
+++ b/lib/libc/arch/i386/sys/sbrk.S     Mon Aug 21 17:43:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbrk.S,v 1.12 2000/04/03 04:13:36 mycroft Exp $        */
+/*     $NetBSD: sbrk.S,v 1.12.4.1 2000/08/21 17:43:48 kleink Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
 
 #include <machine/asm.h>
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: sbrk.S,v 1.12 2000/04/03 04:13:36 mycroft Exp $")
+       RCSID("$NetBSD: sbrk.S,v 1.12.4.1 2000/08/21 17:43:48 kleink Exp $")
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
@@ -48,11 +48,15 @@
        .globl  _end
        .globl  CURBRK
 
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(sbrk, _sbrk)
+#endif
+
        .data
 CURBRK:        .long   _end
        .text
 
-ENTRY(sbrk)
+ENTRY(_sbrk)
 #ifdef PIC
        movl    4(%esp),%ecx
        PIC_PROLOGUE



Home | Main Index | Thread Index | Old Index