This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld with --retain-symbols-file


On Thu, Jul 31, 2008 at 05:17:45AM -0500, Steve Peltz wrote:
> If I have two sets of .o files, and I want to partial-link each set,  
> resolving all symbols and only keeping the ones I'm going to  
> reference, it seems I generally can not do that if any of those  
> symbols are referenced within their set (or even just within the same  
> file).

That's right.  ld -r doesn't resolve.  If you want it to do that for
you, you have some linker code to write..

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]