This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Update LTO plugin interface
"H.J. Lu" <hjl.tools@gmail.com> writes:
> On Wed, Dec 1, 2010 at 12:37 PM, Ian Lance Taylor <iant@google.com> wrote:
>
>> Are you planning to have the plugin claim all files, even linker
>> scripts, and then pass only the command line files back to the linker?
>>
>
> Plugin will keep the same claim strategy. For those aren't claimed by
> plugin, plugin will save and pass them back to linker only if they are
> specified at command line.
Just to be clear, that does not make sense as written. If the plugin
does not claim a file, it should not then pass it back to the linker.
In fact, if the plugin claims all files, then as far as I can see your
new ld_plugin_input_file field is not required. And if the plugin does
not claim all files, I don't see how this can work.
Ian