lkml.org 
[lkml]   [1999]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: More linker magic..
> Just put the constructors in 11 sections with names like initcall_0
> .. initcall_10 and setup some symbols to find them, then you can get away
> with a single scanning pass.

When you link the lot together they can all go in one section too. The
order will be preserved, no need for extra symbols.

But perhaps priorities are just plain wrong -- in many cases, it's
specific interdependencies that need to be addressed. Shoving those
dependencies (by name) into the initcall section and doing a topological
sort they'd be sorted, as it were.

-- Jamie

-
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.039 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site