Store the whole 64-bit pointer...
This commit is contained in:
parent
fe54e81eb3
commit
01a39929fc
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: brk.S,v 1.8 2000/07/25 15:14:45 mycroft Exp $ */
|
||||
/* $NetBSD: brk.S,v 1.9 2000/07/25 20:15:40 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -44,7 +44,7 @@
|
|||
#if 0
|
||||
.asciz "@(#)brk.s 8.1 (Berkeley) 6/4/93"
|
||||
#else
|
||||
RCSID("$NetBSD: brk.S,v 1.8 2000/07/25 15:14:45 mycroft Exp $")
|
||||
RCSID("$NetBSD: brk.S,v 1.9 2000/07/25 20:15:40 mycroft Exp $")
|
||||
#endif
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
|
@ -81,7 +81,7 @@ ENTRY(_brk)
|
|||
ERROR()
|
||||
1:
|
||||
retl /* success, return 0 & record new break */
|
||||
st %o2, [%o4]
|
||||
stx %o2, [%o4]
|
||||
#else
|
||||
sethi %hi(_C_LABEL(__minbrk)), %o1 /* %o1 = minbrk */
|
||||
ldx [%o1 + %lo(_C_LABEL(__minbrk))], %o1
|
||||
|
|
Loading…
Reference in New Issue