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/212fe149fd76
branches: netbsd-1-5
changeset: 489182:212fe149fd76
user: kleink <kleink%NetBSD.org@localhost>
date: Tue Aug 22 07:18:25 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/brk.S | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 9c2a9c285100 -r 212fe149fd76 lib/libc/arch/sh3/sys/brk.S
--- a/lib/libc/arch/sh3/sys/brk.S Tue Aug 22 07:17:43 2000 +0000
+++ b/lib/libc/arch/sh3/sys/brk.S Tue Aug 22 07:18:25 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: brk.S,v 1.2 2000/03/27 16:27:16 msaitoh Exp $ */
+/* $NetBSD: brk.S,v 1.2.4.1 2000/08/22 07:18:25 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: brk.S,v 1.2 2000/03/27 16:27:16 msaitoh Exp $")
+ RCSID("$NetBSD: brk.S,v 1.2.4.1 2000/08/22 07:18:25 kleink Exp $")
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@@ -48,13 +48,17 @@
.globl _end
.globl curbrk
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(_brk, __brk)
+#endif
+
.data
.globl minbrk
.align 2
minbrk: .long _end
.text
-ENTRY(brk)
+ENTRY(_brk)
mov.l Lminbrk, r0
mov.l @r0, r0
cmp/hs r4, r0
Home |
Main Index |
Thread Index |
Old Index