Module Name: src
Committed By: uebayasi
Date: Sat Nov 8 05:57:41 UTC 2014
Modified Files:
src/usr.bin/config: TODO
Log Message:
config(1): Note a little more about linkage
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/config/TODO
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/config/TODO
diff -u src/usr.bin/config/TODO:1.10 src/usr.bin/config/TODO:1.11
--- src/usr.bin/config/TODO:1.10 Fri Nov 7 16:41:17 2014
+++ src/usr.bin/config/TODO Sat Nov 8 05:57:41 2014
@@ -192,7 +192,8 @@ o Control ELF sections using linker scri
cacheline_aligned) to load address specification for external boot loaders.
Make this into multiple stages to make linkage more structural. Especially,
- reserve the final link for purely MD purpose.
+ reserve the final link for purely MD purpose. Note that in modular build,
+ *.ko are shared between build of kernel and modular(9) modules (*.kmod).
Monolithic build:
*.o ---> netbsd.ko Generic MI linkage
@@ -227,5 +228,12 @@ o Control ELF sections using linker scri
(netbsd.ro) is linked into multiple final kernel image (netbsd) for diferent
load addresses.
- XXX Modular MI linkage
- XXX Modular MD linkage
+ Modular MI linkage is to prepare a module to be loadable as modular(9). This
+ may add some extra sections and/or symbols.
+
+ Modular MD linkage is again for pure MD purposes like kernel MD linkage.
+ Adjustment and/or optimization may be done.
+
+ Kernel and modular MI linkages may change behavior depending on existence
+ of debug information. In the future .symtab will be copied using linker
+ during this stage.