Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/hppa/sys Use the _end symbol rather than the e...



details:   https://anonhg.NetBSD.org/src/rev/265adb73b009
branches:  trunk
changeset: 778053:265adb73b009
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Mar 14 14:18:10 2012 +0000

description:
Use the _end symbol rather than the end symbol.  Prevents version info
problems in elflink.c for the heimdal libraries.

diffstat:

 lib/libc/arch/hppa/sys/brk.S  |  8 ++++----
 lib/libc/arch/hppa/sys/sbrk.S |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (63 lines):

diff -r 40c7730f4b61 -r 265adb73b009 lib/libc/arch/hppa/sys/brk.S
--- a/lib/libc/arch/hppa/sys/brk.S      Wed Mar 14 13:41:07 2012 +0000
+++ b/lib/libc/arch/hppa/sys/brk.S      Wed Mar 14 14:18:10 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: brk.S,v 1.4 2009/11/03 05:07:25 snj Exp $      */
+/*     $NetBSD: brk.S,v 1.5 2012/03/14 14:18:10 skrll Exp $    */
 
 /*     $OpenBSD: brk.S,v 1.7 2001/06/04 23:14:04 mickey Exp $  */
 
@@ -31,11 +31,11 @@
 #include "SYS.h"
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: brk.S,v 1.4 2009/11/03 05:07:25 snj Exp $")
+       RCSID("$NetBSD: brk.S,v 1.5 2012/03/14 14:18:10 skrll Exp $")
 #endif /* LIBC_SCCS and not lint */
 
        .import curbrk, data
-       .import end, data
+       .global _end
 
 #ifdef WEAK_ALIAS
        WEAK_ALIAS(brk, _brk) 
@@ -44,7 +44,7 @@
        .data
        .export __minbrk, data
 __minbrk:
-       .long   end
+       .long   _end
 
 ENTRY(_brk,0)
 #ifdef PIC
diff -r 40c7730f4b61 -r 265adb73b009 lib/libc/arch/hppa/sys/sbrk.S
--- a/lib/libc/arch/hppa/sys/sbrk.S     Wed Mar 14 13:41:07 2012 +0000
+++ b/lib/libc/arch/hppa/sys/sbrk.S     Wed Mar 14 14:18:10 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbrk.S,v 1.4 2009/11/03 05:07:25 snj Exp $     */
+/*     $NetBSD: sbrk.S,v 1.5 2012/03/14 14:18:10 skrll Exp $   */
 
 /*     $OpenBSD: sbrk.S,v 1.7 2001/06/04 23:14:04 mickey Exp $ */
 
@@ -31,10 +31,10 @@
 #include "SYS.h"
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: sbrk.S,v 1.4 2009/11/03 05:07:25 snj Exp $")
+       RCSID("$NetBSD: sbrk.S,v 1.5 2012/03/14 14:18:10 skrll Exp $")
 #endif /* LIBC_SCCS and not lint */
 
-       .import end, data
+       .global _end
 
 #ifdef WEAK_ALIAS
        WEAK_ALIAS(sbrk, _sbrk)
@@ -43,7 +43,7 @@
        .data
        .export curbrk, data
 curbrk:
-       .long   end
+       .long   _end
 
 ENTRY(_sbrk,0)
 #ifdef PIC



Home | Main Index | Thread Index | Old Index