Re: The magical mystical changing ethernet interface order

David S. Miller
2003-05-08T11:53:06Z

On Wed, 2003-05-07 at 15:28, Dave Hansen wrote:
> The linker will order things in the final object in the order that you
> passed them. We depend on this for getting __init functions run in the
> right order:

This is absolutely not guarenteed. The linker is at liberty to
reorder objects in any order it so desires, for performance reasons
etc.

Any reliance on link ordering is broken and needs to be fixed.

--
David S. Miller <davem@redhat.com>