Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/sparc/sys Shameless hack to reference end if u...
details: https://anonhg.NetBSD.org/src/rev/8b2af5c15981
branches: trunk
changeset: 473431:8b2af5c15981
user: kleink <kleink%NetBSD.org@localhost>
date: Thu Jun 03 20:14:58 1999 +0000
description:
Shameless hack to reference end if using a.out and _end if using ELF.
diffstat:
lib/libc/arch/sparc/sys/brk.S | 7 ++++---
lib/libc/arch/sparc/sys/sbrk.S | 8 ++++----
2 files changed, 8 insertions(+), 7 deletions(-)
diffs (61 lines):
diff -r 933821479fc2 -r 8b2af5c15981 lib/libc/arch/sparc/sys/brk.S
--- a/lib/libc/arch/sparc/sys/brk.S Thu Jun 03 14:43:33 1999 +0000
+++ b/lib/libc/arch/sparc/sys/brk.S Thu Jun 03 20:14:58 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: brk.S,v 1.6 1999/03/31 18:14:27 kleink Exp $ */
+/* $NetBSD: brk.S,v 1.7 1999/06/03 20:14:58 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.6 1999/03/31 18:14:27 kleink Exp $")
+ RCSID("$NetBSD: brk.S,v 1.7 1999/06/03 20:14:58 kleink Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
@@ -52,10 +52,11 @@
.globl CURBRK
.globl _C_LABEL(__minbrk)
+ .globl _end
.data
_C_LABEL(__minbrk):
- .long _C_LABEL(end) ! lower brk limit; also for gmon code
+ .long _end ! lower brk limit; also for gmon code
.text
#ifdef PIC
diff -r 933821479fc2 -r 8b2af5c15981 lib/libc/arch/sparc/sys/sbrk.S
--- a/lib/libc/arch/sparc/sys/sbrk.S Thu Jun 03 14:43:33 1999 +0000
+++ b/lib/libc/arch/sparc/sys/sbrk.S Thu Jun 03 20:14:58 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbrk.S,v 1.5 1999/03/31 18:14:27 kleink Exp $ */
+/* $NetBSD: sbrk.S,v 1.6 1999/06/03 20:14:58 kleink Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,17 +44,17 @@
#if 0
.asciz "@(#)sbrk.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: sbrk.S,v 1.5 1999/03/31 18:14:27 kleink Exp $")
+ RCSID("$NetBSD: sbrk.S,v 1.6 1999/06/03 20:14:58 kleink Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
- .globl _C_LABEL(end)
+ .globl _end
.globl CURBRK
.data
-CURBRK: .long _C_LABEL(end)
+CURBRK: .long _end
.text
ENTRY(sbrk)
Home |
Main Index |
Thread Index |
Old Index