On Thu, Dec 2, 2010 at 12:10 PM, Ian Lance Taylor <i...@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.