Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/stand Use __bss_start rather than edata to poi...



details:   https://anonhg.NetBSD.org/src/rev/37a6639e262d
branches:  trunk
changeset: 1006810:37a6639e262d
user:      isaki <isaki%NetBSD.org@localhost>
date:      Tue Jan 28 11:52:21 2020 +0000

description:
Use __bss_start rather than edata to point the beginning of .bss.
Currently the .bss is placed right after .data.  In that case, edata
points to the beginning of .bss so that there is no visible changes at
least currently.

diffstat:

 sys/arch/x68k/stand/boot_ufs/boot.S |  4 ++--
 sys/arch/x68k/stand/xxboot/boot.S   |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r fdd943a205a7 -r 37a6639e262d sys/arch/x68k/stand/boot_ufs/boot.S
--- a/sys/arch/x68k/stand/boot_ufs/boot.S       Tue Jan 28 09:23:15 2020 +0000
+++ b/sys/arch/x68k/stand/boot_ufs/boot.S       Tue Jan 28 11:52:21 2020 +0000
@@ -2,7 +2,7 @@
 | author: chapuni(webmaster%chapuni.com@localhost)
 |         ITOH Yasufumi
 |
-| $NetBSD: boot.S,v 1.17 2020/01/18 06:34:29 isaki Exp $
+| $NetBSD: boot.S,v 1.18 2020/01/28 11:52:21 isaki Exp $
 
 |
 | (1) IPL (or previous stage loader) loads first 1KB of this primary
@@ -67,7 +67,7 @@
 #define ASRELOC(var)   _RELOC(_ASM_LABEL(var))
 #define RELOC(var)     _RELOC(_C_LABEL(var))
 
-               lea     RELOC(edata),%a1
+               lea     RELOC(__bss_start),%a1
                bra     _ASM_LABEL(entry)
 
 |      Disklabel= 404bytes
diff -r fdd943a205a7 -r 37a6639e262d sys/arch/x68k/stand/xxboot/boot.S
--- a/sys/arch/x68k/stand/xxboot/boot.S Tue Jan 28 09:23:15 2020 +0000
+++ b/sys/arch/x68k/stand/xxboot/boot.S Tue Jan 28 11:52:21 2020 +0000
@@ -2,7 +2,7 @@
 | author: chapuni(webmaster%chapuni.com@localhost)
 |         ITOH Yasufumi
 |
-| $NetBSD: boot.S,v 1.9 2020/01/18 06:34:30 isaki Exp $
+| $NetBSD: boot.S,v 1.10 2020/01/28 11:52:21 isaki Exp $
 
 |
 | (1) IPL (or previous stage loader) loads first 1KB of this primary
@@ -69,7 +69,7 @@
 #define ASRELOC(var)   _RELOC(_ASM_LABEL(var))
 #define RELOC(var)     _RELOC(_C_LABEL(var))
 
-               lea     RELOC(edata),%a1
+               lea     RELOC(__bss_start),%a1
                bra     _ASM_LABEL(entry)
 
 |      Disklabel= 404bytes



Home | Main Index | Thread Index | Old Index