Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config I don't like -Ttext .
details: https://anonhg.NetBSD.org/src/rev/ec7221055e87
branches: trunk
changeset: 340178:ec7221055e87
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Aug 25 13:13:54 2015 +0000
description:
I don't like -Ttext .
diffstat:
usr.bin/config/TODO | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 5e05bae5c704 -r ec7221055e87 usr.bin/config/TODO
--- a/usr.bin/config/TODO Tue Aug 25 12:56:58 2015 +0000
+++ b/usr.bin/config/TODO Tue Aug 25 13:13:54 2015 +0000
@@ -362,6 +362,13 @@
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
Home |
Main Index |
Thread Index |
Old Index