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: Link with mixed IR/non-IR objects


On Wed, Apr 27, 2011 at 07:38:23AM -0700, H.J. Lu wrote:
> They are different. SHT_GNU_OBJECT_ONLY section doesn't contain
> any IR. It encapsulates a relocatable object file without any IR bits.

I think we first should ask whether GNU ld needs to support ld -r
with mixed IR and normal object files.  I'm inclined to think that ld
should not do the segregation of object files and effectively perform
two linking operations with one output file stored inside the other.
Why can't we simply issue an error if someone tries to mix object
files like this?

-- 
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]