This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: 2 stage BFD linker for LTO plugin
On Mon, Dec 6, 2010 at 3:54 PM, Ian Lance Taylor <iant@google.com> wrote:
> Alan Modra <amodra@gmail.com> writes:
>
>> On Mon, Dec 06, 2010 at 09:57:14AM -0800, H.J. Lu wrote:
>>> Personally, I think 2 stage linking is one way to fix this issue.
>>
>> Ian has stated that he thinks this is a really bad idea. ?I haven't
>> approved the patch because I value Ian's opinion, and can see why he
>> thinks it is the wrong way to go. ?On the other hand, BFD is full of
>> bad ideas.. ?I'm not strongly opposed to your patch myself.
>
> Why don't we spend a short amount of time fixing these relatively minor
> issues in lto-plugin without going all the way to two-stage linking?
The issues may be "relatively minor". But proper fix without
two-stage linking may be quite tricky.
> Both Cary and I made several suggestions for how to do this.
Fixing all known/unknown issues may not be easy without
two-stage linking. With two-stage linking, everything just works.
--
H.J.