Module Name: src Committed By: uebayasi Date: Thu Aug 27 10:22:12 UTC 2015
Modified Files: src/usr.bin/config: TODO Log Message: + copy symtab To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 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.23 src/usr.bin/config/TODO:1.24 --- src/usr.bin/config/TODO:1.23 Wed Aug 26 06:38:57 2015 +++ src/usr.bin/config/TODO Thu Aug 27 10:22:12 2015 @@ -275,6 +275,21 @@ o Control ELF sections using linker scri of debug information. In the future .symtab will be copied using linker during this stage. +o Fix db_symtab copying (COPY_SYMTAB) + + o Collect all objects and create a relocatable (netbsd.ro). At this point, + the number of symbols is known. + + o Relink and allocate .rodata.symtab with the calculated size of .symtab. + Linker recalculates symbol addresses. + + o Embed the .symtab into .rodata.symtab. + + o Link the final netbsd ELF. + + The make(1) rule (dependency graph) should be identical with/without + COPY_SYMTAB. Kill .ifdef COPY_SYMTAB from $S/conf/Makefile.kern.inc. + o Preprocess and generate linker scripts dynamically. Include opt_xxx.h and replace some constant values (e.g. COHERENCY_UNIT,