This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Update LTO plugin interface


On Thu, Dec 2, 2010 at 12:10 PM, Ian Lance Taylor <iant@google.com> wrote:
>
> Anyhow, I have a proposal on the table which I think can do the job. ?If
> you want to instead advocate for a complete relink approach, then we
> should significantly change and simplify the plugin interface. ?The
> plugin support in gold will need to be rewritten; not sure about GNU ld.
> I think that will force the linker to do a fair bit of extra work to no
> useful purpose.
>

There are 2 proposals:

1. 2 stage linking.
2.  --plugin-callback

2 stage linking in GNU linker isn't very hard. I just need to exclude
inputs from stage 1 and drop 2 hash tables. I can continue stage 2
linking to generate executable.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]