[RFC] gcc lto&binutils: Load different gcc's bfd-plugin automatically

Joseph Myers joseph@codesourcery.com
Tue Mar 5 17:08:00 GMT 2019


On Tue, 5 Mar 2019, Richard Biener wrote:

> Well, why not go a step further and add a bfd-plugin note that suggests
> the plugin to be used if it is installed?  That could contain for example
> lto_plugin_gcc8.so (to be installed in /lib/bfd-plugins/).  Alternatively
> a full path could be specified (though the files wouldn't then necessarily
> work when moving between different compiler installs).

I think specifying full paths to code to execute in object files if very 
dubious on security grounds.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Binutils mailing list