This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Update LTO plugin interface
On 02/12/2010 20:10, Ian Lance Taylor 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.
I'm wondering if the linker shouldn't just gather the plugin-contributed
object files, substitute them into appropriate places on the original
command-line, and re-exec itself.
cheers,
DaveK