"ld -r" on mixed IR/non-IR objects (

H.J. Lu hjl.tools@gmail.com
Mon Dec 6 22:48:00 GMT 2010


On Mon, Dec 6, 2010 at 2:43 PM, Andi Kleen <andi@firstfloor.org> wrote:
>> Hi,
>>
>> "ld -r" doesn't work with mixed IR/non-IR objects:
>>
>> http://www.sourceware.org/bugzilla/show_bug.cgi?id=12291
>
> There are various bugs for it in gcc bugzilla too.
>
>> Some compilers support it. Should it be supported?
>
> Yes. I've been working on it (slim lto was the first part needed for it,
> without slim lto it's imho hopeless)

Slim lto is a workaround, not a real solution. I think this support should be
implemented in ld with help from GCC.



-- 
H.J.



More information about the Gcc mailing list