[lto][patch] Make collect2 aware of -plugin

Rafael Espindola espindola@google.com
Tue Dec 2 11:42:00 GMT 2008


2008/12/2 Rafael Espindola <espindola@google.com>:
> With this patch, passing -plugin to collect2 will disable any special
> handling of lto files, just pass them to the linker that will pass
> them to the plugin.

Pressed send too early.  The patch is now attached. The ChangeLog is:

2008-12-02  Rafael Avila de Espindola  <espindola@google.com>

	* collect2 (main): Set lto_mode to LTO_MODE_NONE if -plugin is given.

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugin2.patch
Type: text/x-diff
Size: 810 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081202/f6819c2a/attachment.bin>


More information about the Gcc-patches mailing list