Separate curbrk and mincrk.

This commit is contained in:
mycroft 1994-01-27 15:08:03 +00:00
parent 3463cb4eef
commit 1fe07f186d
4 changed files with 19 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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