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 revs. 1.3-1.4 (approved b...
details: https://anonhg.NetBSD.org/src/rev/8b6cb6c82a22
branches: netbsd-1-5
changeset: 489184:8b6cb6c82a22
user: kleink <kleink%NetBSD.org@localhost>
date: Tue Aug 22 07:20:05 2000 +0000
description:
Pull up revs. 1.3-1.4 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
diffstat:
lib/libc/arch/sh3/sys/sbrk.S | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 3bf510d724f1 -r 8b6cb6c82a22 lib/libc/arch/sh3/sys/sbrk.S
--- a/lib/libc/arch/sh3/sys/sbrk.S Tue Aug 22 07:19:38 2000 +0000
+++ b/lib/libc/arch/sh3/sys/sbrk.S Tue Aug 22 07:20:05 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbrk.S,v 1.2 2000/03/27 16:27:16 msaitoh Exp $ */
+/* $NetBSD: sbrk.S,v 1.2.4.1 2000/08/22 07:20:05 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.2 2000/03/27 16:27:16 msaitoh Exp $")
+ RCSID("$NetBSD: sbrk.S,v 1.2.4.1 2000/08/22 07:20:05 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)
mov r4, r2
mov.l Lcurbrk, r0
mov.l @r0, r0
Home |
Main Index |
Thread Index |
Old Index