Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/mips/sys Missed in previous: replace the previ...
details: https://anonhg.NetBSD.org/src/rev/a46295cbc255
branches: trunk
changeset: 494233:a46295cbc255
user: kleink <kleink%NetBSD.org@localhost>
date: Tue Jul 04 07:37:33 2000 +0000
description:
Missed in previous: replace the previously used _brk label with an ordinary
local label; problem noticed by Matthias Drochner.
diffstat:
lib/libc/arch/mips/sys/brk.S | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (39 lines):
diff -r d28bb38a90e7 -r a46295cbc255 lib/libc/arch/mips/sys/brk.S
--- a/lib/libc/arch/mips/sys/brk.S Tue Jul 04 07:12:47 2000 +0000
+++ b/lib/libc/arch/mips/sys/brk.S Tue Jul 04 07:37:33 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: brk.S,v 1.11 2000/06/26 06:25:41 kleink Exp $ */
+/* $NetBSD: brk.S,v 1.12 2000/07/04 07:37:33 kleink Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -40,7 +40,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)brk.s 8.1 (Berkeley) 6/4/93")
- ASMSTR("$NetBSD: brk.S,v 1.11 2000/06/26 06:25:41 kleink Exp $")
+ ASMSTR("$NetBSD: brk.S,v 1.12 2000/07/04 07:37:33 kleink Exp $")
#endif /* LIBC_SCCS and not lint */
#ifdef ABICALLS
@@ -67,16 +67,16 @@
.set reorder
#endif
lw v0, _C_LABEL(__minbrk)
- bgeu a0, v0, _C_LABEL(_brk)
+ bgeu a0, v0, 1f
move a0, v0 # dont allow break < minbrk
-ALEAF(_brk)
+1:
li v0, SYS_break
syscall
- bne a3, zero, 1f
+ bne a3, zero, 2f
sw a0, _C_LABEL(__curbrk)
move v0, zero
j ra
-1:
+2:
la t9, _C_LABEL(__cerror)
jr t9
END(brk)
Home |
Main Index |
Thread Index |
Old Index