On Fri, Dec 3, 2010 at 6:34 PM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Fri, Dec 3, 2010 at 6:23 PM, Dave Korn <dave.korn.cyg...@gmail.com> wrote: >> On 04/12/2010 01:24, H.J. Lu wrote: >> >>> I checked in a patch to implement stage 2 linking. Everything >>> seems to work, including "gcc -static ... -lm". >> >> Any chance you could send a complete diff? >> > > I will submit a complete diff after I fix a few corner cases. > In the meantime, you can clone my git tree and do a "git diff". >
I checked a few more fixes into hjl/lto branch. The known issue: --whole-archive will call plugin on archives with IR in stage 2 linking. -- H.J.