X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Message-ID: <5290666B.6030906@iki.fi> Date: Sat, 23 Nov 2013 10:25:15 +0200 From: Andris Pavenis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Binutils and LTO in GCC Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com We should discard .gnu.lto_* sections in linker similarly as it is done for Linux /DISCARD/: { *(gnu.lto_*) } Now that at least for current development version of GCC (4.9) one can with some additional modifications enable LTO it would be nice to have support for it also in binutils The related source file is ld/scripttempl/i386go32.sc Andris