Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/conf ldscript doesn't need -Ttext
details: https://anonhg.NetBSD.org/src/rev/ccd348b7a76c
branches: trunk
changeset: 789148:ccd348b7a76c
user: matt <matt%NetBSD.org@localhost>
date: Fri Aug 09 04:24:19 2013 +0000
description:
ldscript doesn't need -Ttext
diffstat:
sys/arch/evbarm/conf/Makefile.evbarm.inc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r b724aaea44a5 -r ccd348b7a76c sys/arch/evbarm/conf/Makefile.evbarm.inc
--- a/sys/arch/evbarm/conf/Makefile.evbarm.inc Thu Aug 08 22:18:20 2013 +0000
+++ b/sys/arch/evbarm/conf/Makefile.evbarm.inc Fri Aug 09 04:24:19 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.evbarm.inc,v 1.26 2013/08/04 00:59:46 matt Exp $
+# $NetBSD: Makefile.evbarm.inc,v 1.27 2013/08/09 04:24:19 matt Exp $
#
# If this is a install kernel and the ramdisk image exists in the object
@@ -23,6 +23,7 @@
EXTRA_CLEAN+= ldscript tmp ${KERNELS:=.map}
.if defined(KERNEL_BASE_PHYS)
+LINKTEXT=
KERNLDSCRIPT= ldscript
EXTRA_LINKFLAGS+= -T ldscript
@@ -33,4 +34,6 @@
-e 's/@KERNEL_BASE_VIRT@/${KERNEL_BASE_VIRT}/' \
${THISARM}/conf/ldscript.evbarm > tmp && mv tmp $@
+.else
+LINKTEXT= -Ttext ${LOADADDRESS}
.endif # KERNEL_BASE_PHYS
Home |
Main Index |
Thread Index |
Old Index