Grouping in linker sections

obair nabble@rehill.info
Wed Oct 14 11:54:00 GMT 2009



Alan Modra wrote:
> 
> Link in two stages.  First one is ld -r to pick out the objects you
> need.  Second one uses a linker script to place the ld -r output
> where you want it.
> 
> -- 
> Alan Modra
> Australia Development Lab, IBM
> 
> 

Thanks for the response.
I think the problem with two-stage linking is that the objects that are
required to be linked in the first stage are not self contained; they call
functions in the second-stage objects (those whose location does not
matter).  The paths to these "outside" calls are not followed during the
critical time before the re-read occurs, however.

-- 
View this message in context: http://www.nabble.com/Grouping-in-linker-sections-tp25823174p25889637.html
Sent from the Sourceware - binutils list mailing list archive at Nabble.com.



More information about the Binutils mailing list