Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch Change references to `end' to `_end' as not to...



details:   https://anonhg.NetBSD.org/src/rev/ca7428e44410
branches:  trunk
changeset: 467938:ca7428e44410
user:      kleink <kleink%NetBSD.org@localhost>
date:      Wed Mar 31 11:53:07 1999 +0000

description:
Change references to `end' to `_end' as not to invade (or being invaded by)
the user's name space.

diffstat:

 lib/libc/arch/mips/sys/brk.S     |  7 ++++---
 lib/libc/arch/mips/sys/sbrk.S    |  7 ++++---
 lib/libc/arch/powerpc/sys/brk.S  |  5 +++--
 lib/libc/arch/powerpc/sys/sbrk.S |  6 +++---
 lib/libc/arch/sparc64/sys/brk.S  |  7 ++++---
 lib/libc/arch/sparc64/sys/sbrk.S |  8 ++++----
 6 files changed, 22 insertions(+), 18 deletions(-)

diffs (164 lines):

diff -r 3a3470a3a6b9 -r ca7428e44410 lib/libc/arch/mips/sys/brk.S
--- a/lib/libc/arch/mips/sys/brk.S      Wed Mar 31 11:26:45 1999 +0000
+++ b/lib/libc/arch/mips/sys/brk.S      Wed Mar 31 11:53:07 1999 +0000
@@ -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)
diff -r 3a3470a3a6b9 -r ca7428e44410 lib/libc/arch/mips/sys/sbrk.S
--- a/lib/libc/arch/mips/sys/sbrk.S     Wed Mar 31 11:26:45 1999 +0000
+++ b/lib/libc/arch/mips/sys/sbrk.S     Wed Mar 31 11:53:07 1999 +0000
@@ -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)
diff -r 3a3470a3a6b9 -r ca7428e44410 lib/libc/arch/powerpc/sys/brk.S
--- a/lib/libc/arch/powerpc/sys/brk.S   Wed Mar 31 11:26:45 1999 +0000
+++ b/lib/libc/arch/powerpc/sys/brk.S   Wed Mar 31 11:53:07 1999 +0000
@@ -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
 
diff -r 3a3470a3a6b9 -r ca7428e44410 lib/libc/arch/powerpc/sys/sbrk.S
--- a/lib/libc/arch/powerpc/sys/sbrk.S  Wed Mar 31 11:26:45 1999 +0000
+++ b/lib/libc/arch/powerpc/sys/sbrk.S  Wed Mar 31 11:53:07 1999 +0000
@@ -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)
diff -r 3a3470a3a6b9 -r ca7428e44410 lib/libc/arch/sparc64/sys/brk.S
--- a/lib/libc/arch/sparc64/sys/brk.S   Wed Mar 31 11:26:45 1999 +0000
+++ b/lib/libc/arch/sparc64/sys/brk.S   Wed Mar 31 11:53:07 1999 +0000
@@ -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
diff -r 3a3470a3a6b9 -r ca7428e44410 lib/libc/arch/sparc64/sys/sbrk.S
--- a/lib/libc/arch/sparc64/sys/sbrk.S  Wed Mar 31 11:26:45 1999 +0000
+++ b/lib/libc/arch/sparc64/sys/sbrk.S  Wed Mar 31 11:53:07 1999 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index