Not to worry, I fixed it already. And I will improve it further. christos
> On Nov 12, 2014, at 6:51 AM, Masao Uebayashi <uebay...@gmail.com> wrote: > > I will look and try to write a separate mkldscript for kmod (but not today). > >> On Wednesday, November 12, 2014, Izumi Tsutsui <tsut...@ceres.dti.ne.jp> >> wrote: >> christos@ wrote: >> >> > Module Name: src >> > Committed By: christos >> > Date: Wed Nov 12 02:15:58 UTC 2014 >> > >> > Modified Files: >> > src/sys/conf: mkldscript.sh >> > >> > Log Message: >> > I don't know what was using this before >> >> Christos, could you please try at least cvs log or grep -R >> before writing such commit log? >> >> http://mail-index.netbsd.org/source-changes/2007/03/04/0006.html >> --- >> Module Name: src >> Committed By: tsutsui >> Date: Sun Mar 4 02:35:50 UTC 2007 >> >> Modified Files: >> src/sys/arch/cats/conf: Makefile.cats.inc >> src/sys/arch/shark/conf: Makefile.shark.inc >> Added Files: >> src/sys/conf: mkldscript.sh >> Removed Files: >> src/sys/arch/arm/conf: mkldscript.sh >> >> Log Message: >> Move mkldscript.sh, which is used to create ldscript dynamically to >> merge link_set_* sections into the text section for a.out kernels, >> from sys/arch/arm/conf/ to sys/conf/ since there is no ARM specific >> stuff in it and other ports would share it. >> --- >> >> % grep -R mkldscript.sh src/sys >> sys/arch/cats/conf/Makefile.cats.inc: OBJDUMP=${OBJDUMP} ${HOST_SH} >> $S/conf/mkldscript.sh \ >> sys/arch/luna68k/conf/Makefile.luna68k: OBJDUMP=${OBJDUMP} ${HOST_SH} >> $S/conf/mkldscript.sh \ >> sys/arch/shark/conf/Makefile.shark.inc: OBJDUMP=${OBJDUMP} ${HOST_SH} >> $S/conf/mkldscript.sh \ >> % >> >> --- >> >> > (but it did not work since it >> > did not produce valid LDSCRIPT code) and now it does. >> >> It have worked more than ten years for these traditional arm ports >> (luna68k no longer needs it since it got a native bootloader though). >> >> I wonder if you need a different script (or proper wrapper) >> for modules.. >> >> --- >> Izumi Tsutsui > <sanitizer.log>