Source-Changes-HG archive

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

[src/trunk]: src/share/mk Export the symbols in addition to the relocation re...



details:   https://anonhg.NetBSD.org/src/rev/68bb240915f1
branches:  trunk
changeset: 557706:68bb240915f1
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jan 16 00:36:39 2004 +0000

description:
Export the symbols in addition to the relocation records when making LKMs.

diffstat:

 share/mk/bsd.kmod.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 638a2c1fbc3f -r 68bb240915f1 share/mk/bsd.kmod.mk
--- a/share/mk/bsd.kmod.mk      Fri Jan 16 00:35:48 2004 +0000
+++ b/share/mk/bsd.kmod.mk      Fri Jan 16 00:36:39 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.kmod.mk,v 1.71 2003/11/04 14:52:22 scw Exp $
+#      $NetBSD: bsd.kmod.mk,v 1.72 2004/01/16 00:36:39 matt Exp $
 
 .include <bsd.init.mk>
 
@@ -59,13 +59,13 @@
        mv tmp.o ${.TARGET}
 
 ${KMOD}_tramp.S: ${KMOD}_tmp.o $S/lkm/arch/${MACHINE_CPU}/lkmtramp.awk
-       ${OBJDUMP} --reloc ${KMOD}_tmp.o | \
+       ${OBJDUMP} --syms --reloc ${KMOD}_tmp.o | \
                 awk -f $S/lkm/arch/${MACHINE_CPU}/lkmtramp.awk > tmp.S
        mv tmp.S ${.TARGET}
 
 ${PROG}: ${KMOD}_tmp.o ${KMOD}_tramp.o
        ${LD} -r ${LDFLAGS} \
-               `${OBJDUMP} --reloc ${KMOD}_tmp.o | \
+               `${OBJDUMP} --syms --reloc ${KMOD}_tmp.o | \
                         awk -f $S/lkm/arch/${MACHINE_CPU}/lkmwrap.awk` \
                 -o tmp.o ${KMOD}_tmp.o ${KMOD}_tramp.o
 .if exists($S/lkm/arch/${MACHINE_CPU}/lkmhide.awk)



Home | Main Index | Thread Index | Old Index