On 29/10/2010 14:18, Jack Howarth wrote: > On Fri, Oct 29, 2010 at 09:56:02AM +0100, Dave Korn wrote: >> On 29/10/2010 02:31, Ian Lance Taylor wrote: >>> Dave Korn <dave.korn.cygwin@ writes: >>> >>>> What would be even nicer would be if we could share the same code-reader >>>> interface between lto and go (and the lto-plugin), thereby getting object >>>> format independence equally everywhere for no extra cost. >>> How about this? >> That looks excellent, thank you! >> >>> This implements an object file reader/writer which does everything >>> required by LTO and gccgo. The ELF code works. I have not tested the >>> Mach-O and COFF code at all beyond compiling it; I hope that somebody >>> else can test those targets and fix them. >> I'm right here :) Can't help with Darwin but hopefully Jack/Iain will be >> available. >> > > Dave, > Doesn't the go compiler require functional split stack support?
Ian will have to answer that, I don't know. > Mike Stump > left me with the impression that split stack support would require additional > linker support on darwin. Well, this also affects LTO, since it refactors the object file support underlying that. As Iain has discovered... cheers, DaveK