Module Name:    src
Committed By:   isaki
Date:           Tue Jan 28 11:52:21 UTC 2020

Modified Files:
        src/sys/arch/x68k/stand/boot_ufs: boot.S
        src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x68k/stand/boot_ufs/boot.S
diff -u src/sys/arch/x68k/stand/boot_ufs/boot.S:1.17 src/sys/arch/x68k/stand/boot_ufs/boot.S:1.18
--- src/sys/arch/x68k/stand/boot_ufs/boot.S:1.17	Sat Jan 18 06:34:29 2020
+++ src/sys/arch/x68k/stand/boot_ufs/boot.S	Tue Jan 28 11:52:21 2020
@@ -2,7 +2,7 @@
 | author: chapuni(webmas...@chapuni.com)
 |         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 @@ ASENTRY_NOPROFILE(entry0)
 #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

Index: src/sys/arch/x68k/stand/xxboot/boot.S
diff -u src/sys/arch/x68k/stand/xxboot/boot.S:1.9 src/sys/arch/x68k/stand/xxboot/boot.S:1.10
--- src/sys/arch/x68k/stand/xxboot/boot.S:1.9	Sat Jan 18 06:34:30 2020
+++ src/sys/arch/x68k/stand/xxboot/boot.S	Tue Jan 28 11:52:21 2020
@@ -2,7 +2,7 @@
 | author: chapuni(webmas...@chapuni.com)
 |         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 @@ ASENTRY_NOPROFILE(entry0)
 #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

Reply via email to