lkml.org 
[lkml]   [1999]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PATCH: please backout this set of broken changes
Date
From
Joerg Pommnitz <pommnitz@darmstadt.gmd.de> said:
> Linus wrote:
> > No.

> > People need to re-order the makefile or similar. I'm not adding complexity
> > to just handle simple ordering.

> No more complexity to the kernel or to the build process?
> If you don't care for the build process, here is an idea:
>
> 1.) The linker collects all the init-calls in a special section.
> 2.) We can access this section with objcopy.
>
> Idea: extract the section from the final vmlinux file,
> perform a topological sort according to some kind of
> description file and put the section back into the binary.

Better: do the topologcal sorting, and from the results write a C file that
does the calls in proper order. Not dependent on any black obj-magic, can
all be done __init and loose it at boot.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.030 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site