On Mon, Sep 26, 2011 at 7:59 AM, Andi Kleen <a...@firstfloor.org> wrote: >> > <li>ld -r is now supported with LTO</li> >> >> Thanks, forgot about this one. This also needs support at linker side, >> right? > > Only if you include assembler or non LTO code. > Without that it should work with any linker. > >> Do you know minimal GNU ld/Gold versions that works fine? > > I believe the assembler code only works with HJ's version of binutils > and his BFD ld (not gold) currently. HJ can you supply the minimal version? > Non assembler/LTO should work always.
The Linux binutils 2.21.51.0.3 is the first Linux binutils which supports "ld -r" on mixed IR/non-IR objects. -- H.J.