Module Name:    src
Committed By:   uebayasi
Date:           Tue Aug 25 13:13:55 UTC 2015

Modified Files:
        src/usr.bin/config: TODO

Log Message:
I don't like -Ttext .


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 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.21 src/usr.bin/config/TODO:1.22
--- src/usr.bin/config/TODO:1.21	Tue Aug 25 09:01:28 2015
+++ src/usr.bin/config/TODO	Tue Aug 25 13:13:54 2015
@@ -362,6 +362,13 @@ o Kill makeoptions.
   kept as simple as possible and have nothing that affects output contents.
   Consider to kill `makeoptions' totally, replace existing ones with `options'.
 
+o Don't use -Ttext ${TEXTADDR}.
+
+  Although ld(1)'s `-Ttext ${TEXTADDR}' is an easy way to specify the virtual
+  base address of .text at link time, it needs to change command-line; in
+  kernel build, Makefile needs to change to reflect kernel's configuration.
+  It is simpler to reflect kenel configuration using linker script via assym.h.
+
 o Convert ${DIAGNOSTIC} and ${DEBUG} as flags (defflag).
 
   Probably generate opt_diagnostic.h/opt_debug.h and include them in

Reply via email to