Change references to end' to _end' as not to invade (or being invaded by)

the user's name space.
This commit is contained in:
kleink 1999-03-31 11:53:07 +00:00
parent 7a5c45dac4
commit 5af7e7a902
6 changed files with 22 additions and 18 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: brk.S,v 1.8 1999/01/14 22:48:20 kleink Exp $ */
/* $NetBSD: brk.S,v 1.9 1999/03/31 11:53:07 kleink Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -40,7 +40,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)brk.s 8.1 (Berkeley) 6/4/93")
ASMSTR("$NetBSD: brk.S,v 1.8 1999/01/14 22:48:20 kleink Exp $")
ASMSTR("$NetBSD: brk.S,v 1.9 1999/03/31 11:53:07 kleink Exp $")
#endif /* LIBC_SCCS and not lint */
#ifdef ABICALLS
@ -49,10 +49,11 @@
.globl _C_LABEL(__minbrk)
.globl _C_LABEL(__curbrk)
.globl _C_LABEL(_end)
.data
_C_LABEL(__minbrk):
.word _C_LABEL(end)
.word _C_LABEL(_end)
.text
LEAF(brk)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbrk.S,v 1.9 1999/01/14 22:48:21 kleink Exp $ */
/* $NetBSD: sbrk.S,v 1.10 1999/03/31 11:53:07 kleink Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -40,7 +40,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
ASMSTR("from: @(#)sbrk.s 8.1 (Berkeley) 6/4/93")
ASMSTR("$NetBSD: sbrk.S,v 1.9 1999/01/14 22:48:21 kleink Exp $")
ASMSTR("$NetBSD: sbrk.S,v 1.10 1999/03/31 11:53:07 kleink Exp $")
#endif /* LIBC_SCCS and not lint */
#ifdef ABICALLS
@ -48,10 +48,11 @@
#endif
.globl _C_LABEL(__curbrk)
.globl _C_LABEL(_end)
.data
_C_LABEL(__curbrk):
.word _C_LABEL(end)
.word _C_LABEL(_end)
.text
LEAF(sbrk)

View File

@ -1,13 +1,14 @@
/* $NetBSD: brk.S,v 1.5 1999/01/14 22:48:21 kleink Exp $ */
/* $NetBSD: brk.S,v 1.6 1999/03/31 11:53:08 kleink Exp $ */
#include "SYS.h"
.globl _C_LABEL(__curbrk)
.globl _C_LABEL(__minbrk)
.globl _C_LABEL(_end)
.data
_C_LABEL(__minbrk):
.long _C_LABEL(end) # XXX not used yet
.long _C_LABEL(_end) # XXX not used yet
.text

View File

@ -1,13 +1,13 @@
/* $NetBSD: sbrk.S,v 1.5 1999/01/14 22:48:21 kleink Exp $ */
/* $NetBSD: sbrk.S,v 1.6 1999/03/31 11:53:08 kleink Exp $ */
#include "SYS.h"
.globl _C_LABEL(end)
.globl _C_LABEL(__curbrk)
.globl _C_LABEL(_end)
.data
_C_LABEL(__curbrk):
.long _C_LABEL(end)
.long _C_LABEL(_end)
.text
ENTRY(sbrk)

View File

@ -1,4 +1,4 @@
/* $NetBSD: brk.S,v 1.2 1999/01/14 22:48:22 kleink Exp $ */
/* $NetBSD: brk.S,v 1.3 1999/03/31 11:53:08 kleink 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.2 1999/01/14 22:48:22 kleink Exp $")
RCSID("$NetBSD: brk.S,v 1.3 1999/03/31 11:53:08 kleink Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
@ -52,10 +52,11 @@
.globl _C_LABEL(__curbrk)
.globl _C_LABEL(__minbrk)
.globl _C_LABEL(_end)
.data
_C_LABEL(__minbrk):
.long _C_LABEL(end) ! lower brk limit; also for gmon code
.long _C_LABEL(_end) ! lower brk limit; also for gmon code
.text
#ifdef PIC

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbrk.S,v 1.2 1999/01/14 22:48:22 kleink Exp $ */
/* $NetBSD: sbrk.S,v 1.3 1999/03/31 11:53:08 kleink Exp $ */
/*
* Copyright (c) 1992, 1993
@ -44,18 +44,18 @@
#if 0
.asciz "@(#)sbrk.s 8.1 (Berkeley) 6/4/93"
#else
RCSID("$NetBSD: sbrk.S,v 1.2 1999/01/14 22:48:22 kleink Exp $")
RCSID("$NetBSD: sbrk.S,v 1.3 1999/03/31 11:53:08 kleink Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
.globl _C_LABEL(end)
.globl _C_LABEL(__curbrk)
.globl _C_LABEL(_end)
.data
_C_LABEL(__curbrk):
.long _C_LABEL(end)
.long _C_LABEL(_end)
.text
ENTRY(sbrk)