Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Leave .map when linking .ko in modular build.



details:   https://anonhg.NetBSD.org/src/rev/460f9fc70da9
branches:  trunk
changeset: 803652:460f9fc70da9
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Nov 06 12:02:59 2014 +0000

description:
Leave .map when linking .ko in modular build.

diffstat:

 sys/conf/Makefile.kern.inc |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r e495c50acc30 -r 460f9fc70da9 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Thu Nov 06 11:59:17 2014 +0000
+++ b/sys/conf/Makefile.kern.inc        Thu Nov 06 12:02:59 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.177 2014/11/06 11:59:17 uebayasi Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.178 2014/11/06 12:02:59 uebayasi Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -160,8 +160,8 @@
 # link rules: 
 LINK_O?=       @${_MKSHMSG} "   link  ${.CURDIR:T}/${.TARGET}" && \
                ${_MKSHECHO}\
-               ${LD} -r -o ${.TARGET} ${.ALLSRC} && \
-               ${LD} -r -o ${.TARGET} ${.ALLSRC}
+               ${LD} -r -Map=${.TARGET}.map -o ${.TARGET} ${.ALLSRC} && \
+               ${LD} -r -Map=${.TARGET}.map -o ${.TARGET} ${.ALLSRC}
 
 ##
 ## (3) libkern and compat



Home | Main Index | Thread Index | Old Index