This is the mail archive of the
mailing list for the binutils project.
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?
Australia Development Lab, IBM