lkml.org 
[lkml]   [1999]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PATCH: please backout this set of broken changes
Date
Followup to:  <E11DtAm-0002Bt-00@the-village.bc.nu>
By author: Alan Cox <alan@lxorguk.ukuu.org.uk>
In newsgroup: linux.dev.kernel
>
> The linker will presumably order object files in link order then .a files
> by reference, so for all drivers in .o archives we can force the link order
> to match the 2.2 probe order
>
> Does GNU ld behaviour guarantee this. If so a lot of problems go away rather
> nicely.
>
> Alan
>

It certainly *behaves* that way; whether or not it is a guarantee is a
good question (I suspect it doesn't, since there is probably a
nonempty set of binary formats -- which doesn't include ELF -- for
which that cannot be guaranteed); although one way to force its hand
is to use dedicated ELF sections for the things that have to come
first or last.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!

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