Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/zaurus/conf Explicitly set empty LINKENTRY to keep ...



details:   https://anonhg.NetBSD.org/src/rev/a4e7a8c6ee2a
branches:  trunk
changeset: 460508:a4e7a8c6ee2a
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Oct 26 09:49:13 2019 +0000

description:
Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
 https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

diffstat:

 sys/arch/zaurus/conf/Makefile.zaurus.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 850bc2ee753e -r a4e7a8c6ee2a sys/arch/zaurus/conf/Makefile.zaurus.inc
--- a/sys/arch/zaurus/conf/Makefile.zaurus.inc  Sat Oct 26 07:32:52 2019 +0000
+++ b/sys/arch/zaurus/conf/Makefile.zaurus.inc  Sat Oct 26 09:49:13 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.zaurus.inc,v 1.9 2015/08/25 02:38:15 uebayasi Exp $
+#      $NetBSD: Makefile.zaurus.inc,v 1.10 2019/10/26 09:49:13 tsutsui Exp $
 
 MACHINE_ARCH?=         arm
 CPPFLAGS+=             -D${MACHINE}
@@ -20,6 +20,8 @@
 KERNEL_BASE_VIRT=      $(LOADADDRESS)
 
 KERNLDSCRIPT=          ldscript
+TEXTADDR=              # defined in ldscript
+LINKENTRY=             # defined in ldscript
 
 EXTRA_CLEAN+=          netbsd.map assym.d ldscript tmp
 



Home | Main Index | Thread Index | Old Index