-/* $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.
.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
-/* $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.
.text
LEAF(sbrk, 1)
- SETGP(pv)
+ br pv, 1f /* XXX profiling */
+1: SETGP(pv)
ldq a1, curbrk
addq a0, a1, a0
SYSCALL_NOLABEL(break)