summaryrefslogtreecommitdiff
path: root/lib/libc/arch/vax/sys/brk.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/vax/sys/brk.S')
-rw-r--r--lib/libc/arch/vax/sys/brk.S9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/arch/vax/sys/brk.S b/lib/libc/arch/vax/sys/brk.S
index 06307e871dd..d210617e095 100644
--- a/lib/libc/arch/vax/sys/brk.S
+++ b/lib/libc/arch/vax/sys/brk.S
@@ -29,19 +29,16 @@
#if defined(SYSLIBC_SCCS)
.text
- .asciz "$OpenBSD: brk.S,v 1.5 2003/06/02 20:18:33 millert Exp $"
+ .asciz "$OpenBSD: brk.S,v 1.6 2003/12/25 18:49:07 miod Exp $"
#endif /* SYSLIBC_SCCS */
#include "SYS.h"
.globl __curbrk
.globl minbrk
-ENTRY(_brk, 0)
- jbr ok
-
ENTRY(brk, 0)
- cmpl 4(ap),minbrk
- bgeq ok
+ cmpl minbrk,4(ap)
+ blequ ok
movl minbrk,4(ap)
ok:
chmk $ SYS_break