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

Re: Kernel driver initialization sequence

> From: Mikael Starvik <starvik@xxxxxxx.com>
> Date: Wed, 20 Nov 2002 18:13:24 +0100

> The linker probably locates the __init functions in the
> same order as they are linked (there is probably no 
> "rule" that the linker has to follow any specific 
> order but the linker most likely chooses the simplest
> solution).

No need for "probably" and "most likely"; that's how it is.
The linker follows the directions in arch/cris/cris.ld.
(Which can be tweaked and tricks played with section names, but
I wouldn't recommend that.)

brgds, H-P