diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/alpha/sys/brk.S | 5 | ||||
-rw-r--r-- | lib/libc/arch/alpha/sys/sbrk.S | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/arch/alpha/sys/brk.S b/lib/libc/arch/alpha/sys/brk.S index 09421bad028..0bf193b812c 100644 --- a/lib/libc/arch/alpha/sys/brk.S +++ b/lib/libc/arch/alpha/sys/brk.S @@ -1,4 +1,4 @@ -/* $NetBSD: brk.S,v 1.1 1995/02/10 17:50:30 cgd Exp $ */ +/* $NetBSD: brk.S,v 1.2 1995/11/04 00:23:04 cgd Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -38,7 +38,8 @@ EXPORT(minbrk) .text LEAF(brk, 1) - SETGP(pv) + br pv, 1f /* XXX profiling */ +1: SETGP(pv) ldq v0, minbrk cmpult a0, v0, t0 cmovne t0, v0, a0 diff --git a/lib/libc/arch/alpha/sys/sbrk.S b/lib/libc/arch/alpha/sys/sbrk.S index 969083b2311..96cf211974b 100644 --- a/lib/libc/arch/alpha/sys/sbrk.S +++ b/lib/libc/arch/alpha/sys/sbrk.S @@ -1,4 +1,4 @@ -/* $NetBSD: sbrk.S,v 1.1 1995/02/10 17:50:38 cgd Exp $ */ +/* $NetBSD: sbrk.S,v 1.2 1995/11/04 00:23:06 cgd Exp $ */ /* * Copyright (c) 1994, 1995 Carnegie-Mellon University. @@ -37,7 +37,8 @@ EXPORT(curbrk) .text LEAF(sbrk, 1) - SETGP(pv) + br pv, 1f /* XXX profiling */ +1: SETGP(pv) ldq a1, curbrk addq a0, a1, a0 SYSCALL_NOLABEL(break) |