On Mon, Dec 6, 2010 at 2:43 PM, Andi Kleen <a...@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.