Separate curbrk and mincrk.
This commit is contained in:
parent
3463cb4eef
commit
1fe07f186d
|
@ -34,22 +34,23 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)brk.s 5.2 (Berkeley) 12/17/90
|
||||
* $Id: brk.S,v 1.7 1994/01/27 06:35:00 mycroft Exp $
|
||||
* $Id: brk.S,v 1.8 1994/01/27 15:08:03 mycroft Exp $
|
||||
*/
|
||||
|
||||
#if defined(SYSLIBC_SCCS) && !defined(lint)
|
||||
.text
|
||||
.asciz "$Id: brk.S,v 1.7 1994/01/27 06:35:00 mycroft Exp $"
|
||||
.asciz "$Id: brk.S,v 1.8 1994/01/27 15:08:03 mycroft Exp $"
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
.globl curbrk
|
||||
.globl _end
|
||||
.globl minbrk
|
||||
#if 0
|
||||
ENTRY(_brk)
|
||||
jmp ok
|
||||
#endif
|
||||
.globl curbrk
|
||||
|
||||
.data
|
||||
minbrk: .long _end
|
||||
.text
|
||||
|
||||
ENTRY(brk)
|
||||
#ifdef PIC
|
||||
|
|
|
@ -34,22 +34,20 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)sbrk.s 5.1 (Berkeley) 4/23/90
|
||||
* $Id: sbrk.S,v 1.5 1994/01/27 06:35:07 mycroft Exp $
|
||||
* $Id: sbrk.S,v 1.6 1994/01/27 15:08:05 mycroft Exp $
|
||||
*/
|
||||
|
||||
#if defined(SYSLIBC_SCCS) && !defined(lint)
|
||||
.text
|
||||
.asciz "$Id: sbrk.S,v 1.5 1994/01/27 06:35:07 mycroft Exp $"
|
||||
.asciz "$Id: sbrk.S,v 1.6 1994/01/27 15:08:05 mycroft Exp $"
|
||||
#endif /* SYSLIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
.globl _end
|
||||
.globl minbrk
|
||||
.globl curbrk
|
||||
|
||||
.data
|
||||
minbrk: .long _end
|
||||
curbrk: .long _end
|
||||
.text
|
||||
|
||||
|
|
|
@ -38,13 +38,19 @@
|
|||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
.text
|
||||
/*.asciz "from: @(#)brk.s 5.1 (Berkeley) 5/12/90"*/
|
||||
.asciz "$Id: brk.S,v 1.2 1994/01/27 14:45:53 mycroft Exp $"
|
||||
.asciz "$Id: brk.S,v 1.3 1994/01/27 15:09:16 mycroft Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
.globl curbrk
|
||||
.globl _end
|
||||
.globl minbrk
|
||||
.globl curbrk
|
||||
|
||||
.data
|
||||
minbrk: .long _end
|
||||
.text
|
||||
|
||||
ENTRY(brk)
|
||||
#ifdef PIC
|
||||
movl #__GLOBAL_OFFSET_TABLE_,a1
|
||||
|
|
|
@ -38,17 +38,15 @@
|
|||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
.text
|
||||
/*.asciz "from: @(#)sbrk.s 5.1 (Berkeley) 5/12/90"*/
|
||||
.asciz "$Id: sbrk.S,v 1.2 1994/01/27 14:45:54 mycroft Exp $"
|
||||
.asciz "$Id: sbrk.S,v 1.3 1994/01/27 15:09:18 mycroft Exp $"
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "SYS.h"
|
||||
|
||||
.globl _end
|
||||
.globl minbrk
|
||||
.globl curbrk
|
||||
|
||||
.data
|
||||
minbrk: .long _end
|
||||
curbrk: .long _end
|
||||
.text
|
||||
|
||||
|
|
Loading…
Reference in New Issue