Re: The magical mystical changing ethernet interface order

David S. Miller (davem@redhat.com)
08 May 2003 05:05:26 -0700


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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/