Messages in this thread | | | Date | Tue, 3 Aug 1999 12:34:41 +0200 | From | Jamie Lokier <> | Subject | Re: 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/
| |