At Sun, 18 Mar 2012 23:17:32 -0700, Matt Thomas wrote: > > > On Mar 18, 2012, at 10:38 PM, Hiroyuki Bessho wrote: > > > Module Name: src > > Committed By: bsh > > Date: Mon Mar 19 05:38:26 UTC 2012 > > > > Modified Files: > > src/external/gpl3/binutils/usr.sbin/dbsym: dbsym.8 dbsym.c > > src/sys/arch/arm/conf: Makefile.arm > > src/sys/conf: Makefile.kern.inc > > > > Log Message: > > adjust the size of db_symtab space automatically. > > proposed on tech-toolchain@, and got no objections. > > Opps. I meant to complain. I really dislike the editing of opt_ksyms.h > since that will cause things to be rebuilt after every config.
Not so many files depend on opt_ksyms.h. For evbarm kernels, only kern_ksyms.o needs to be recompiled after opt_ksyms.h is modified. > > I wonder if we could do a ld -r -o <kernel>_prelink.o *.o > and then use that to calculate SYMTAB_SPACE. I agree this will be a cleaner way.