linker plugin api limitation

Rafael Espíndola rafael.espindola@gmail.com
Mon Feb 22 18:26:00 GMT 2016


> The plugin API does support it as shown by
>
> ar rc foo.a <objs>
> gold ... foo.a
>
> Gold just fails to handle it properly.

Sorry, but how?

With --start-lib --end-lib gold has to ask the plugin for the symbols,
and, as far as I can, tell has no way to signal the plugin that that
file should not be included in the link.

Cheers,
Rafael



More information about the Binutils mailing list