1 o Emit everything (ioconf.*, Makefile, ...) per-attribute. 2 3 o Generate modular(9) related information. Especially module dependency. 4 5 o Rename "interface attribute" to "bus". 6 7 Instead of 8 9 define audiobus {} 10 attach audio at audiobus 11 12 Do like this 13 14 defbus audiobus {} 15 attach audio at audiobus 16 17 o Sort objects in more reasonable order. 18 19 Put machdep.ko in the lowest address. uvm.ko and kern.ko follow. 20 21 Kill alphabetical sort (${OBJS:O} in sys/conf/Makefile.inc.kern. 22 23 Use ldscript. Do like this 24 25 .text : 26 AT (ADDR(.text) & 0x0fffffff) 27 { 28 *(.text.machdep.locore.entry) 29 *(.text.machdep.locore) 30 *(.text.machdep) 31 *(.text) 32 *(.text.*) 33 : 34 35 Kill linker definitions in sys/conf/Makefile.inc.kern. 36