Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/stand Create linker map file so it is possibl...



details:   https://anonhg.NetBSD.org/src/rev/cbd7fb3a2c2c
branches:  trunk
changeset: 551121:cbd7fb3a2c2c
user:      dsl <dsl%NetBSD.org@localhost>
date:      Fri Aug 29 12:56:59 2003 +0000

description:
Create linker map file so it is possible to see which library members
are included and why.

diffstat:

 sys/arch/alpha/stand/Makefile.bootxx |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 9b983d784215 -r cbd7fb3a2c2c sys/arch/alpha/stand/Makefile.bootxx
--- a/sys/arch/alpha/stand/Makefile.bootxx      Fri Aug 29 12:42:13 2003 +0000
+++ b/sys/arch/alpha/stand/Makefile.bootxx      Fri Aug 29 12:56:59 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootxx,v 1.4 2001/09/22 03:34:17 tv Exp $
+# $NetBSD: Makefile.bootxx,v 1.5 2003/08/29 12:56:59 dsl Exp $
 
 SRCS = start.S bootxx.c booted_dev.c blkdev.c prom.c prom_disp.S \
        putstr.c panic_putstr.c
@@ -19,7 +19,7 @@
                -DLIBSA_NO_DISKLABEL_MSGS \
                -DLIBSA_USE_MEMCPY
 
-CLEANFILES+= ${PROG}.sym
+CLEANFILES+= ${PROG}.sym ${PROG}.map
 
 ${PROG}: ${PROG}.sym
        @echo creating ${PROG} from ${PROG}.sym...
@@ -34,6 +34,6 @@
 
 ${PROG}.sym: ${OBJS} ${LIBSA} ${LIBKERN}
        ${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
-           ${OBJS} ${LIBSA} ${LIBKERN}
+           ${OBJS} ${LIBSA} ${LIBKERN} -Map ${PROG}.map
        @chmod 644 ${PROG}.sym
        @${SIZE} ${PROG}.sym



Home | Main Index | Thread Index | Old Index