Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/config ${LD} input files and library (*.a) support.



details:   https://anonhg.NetBSD.org/src/rev/e1ac485575da
branches:  trunk
changeset: 340483:e1ac485575da
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Tue Sep 08 00:53:39 2015 +0000

description:
${LD} input files and library (*.a) support.

diffstat:

 usr.bin/config/TODO |  20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diffs (34 lines):

diff -r eeccc14a9d6b -r e1ac485575da usr.bin/config/TODO
--- a/usr.bin/config/TODO       Mon Sep 07 23:02:07 2015 +0000
+++ b/usr.bin/config/TODO       Tue Sep 08 00:53:39 2015 +0000
@@ -221,6 +221,18 @@
   because these have no constraints about page boundary; they map and access
   kernel .text/.data in the same way.
 
+o Pass input files to ${LD} via linker script.
+
+  Instead of passing input files on command-line, output "INPUT(xxx.o)"
+  commands, and include it from generated linker scripts.
+
+o Generate `*.d' files.
+
+  Output source/object files in raw texts instead of `Makefile'.  Generate
+  `*.d' (make(1) depend) files.  make(1) knows which object files are to be
+  compiled.  With "INPUT(xxx.o)" linker scripts, either generated `Makefile'
+  or `Makefile.kern.inc' don't need to keep source/object files in variables.
+
 o Control ELF sections using linker script.
 
   Now kernel is linked and built directly from object files (*.o).  Each port
@@ -420,3 +432,11 @@
   When one header is updated, only related *.assym.h files are regenerated,
   instead of rebuilding all MD/*.S files that depend on the global, single
   assym.h.
+
+o Support library.
+
+  Provide a consistent way to build library either as .o or .a.
+
+o Accept `.a' suffix.
+
+  Make "file" command accept `.a' suffix.  Handle it the same way as `.o'.



Home | Main Index | Thread Index | Old Index