Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/stand/boot emit some linker -Map files so tha...
details: https://anonhg.NetBSD.org/src/rev/d7ed7377a5a3
branches: trunk
changeset: 768865:d7ed7377a5a3
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Aug 28 08:03:49 2011 +0000
description:
emit some linker -Map files so that we can figure out what symbols
in the boot loaders are.
diffstat:
sys/arch/sparc/stand/boot/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 5d1b7cd13195 -r d7ed7377a5a3 sys/arch/sparc/stand/boot/Makefile
--- a/sys/arch/sparc/stand/boot/Makefile Sun Aug 28 07:49:16 2011 +0000
+++ b/sys/arch/sparc/stand/boot/Makefile Sun Aug 28 08:03:49 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2011/01/22 19:19:23 joerg Exp $
+# $NetBSD: Makefile,v 1.38 2011/08/28 08:03:49 mrg Exp $
STRIPFLAG=
PROGSOURCE= boot.c net.c netif_sun.c conf.c openfirm.c bootinfo.c \
@@ -26,7 +26,7 @@
OBJS=${SRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}
-LINKFLAGS=-N -e start
+LINKFLAGS=-N -e start -Map $@.map
.MAIN: all
realall: ${FILES}
@@ -43,6 +43,7 @@
${SIZE} ${.TARGET}.tmp
${OBJCOPY} -O binary ${.TARGET}.tmp ${.TARGET}
rm -f ${.TARGET}.tmp
+CLEANFILES+= boot.${RELOC}.map
.endfor
# conjure up a magic header that is accepted by all Sun PROMS;
@@ -57,5 +58,6 @@
${LD} -o ${.TARGET} ${LINKFLAGS} -Ttext 300000 ${OBJS} \
${LIBSA} ${LIBZ} ${LIBKERN}
${SIZE} ${.TARGET}
+CLEANFILES+= bootjs.net.map
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index