[PATCH] Drop sections with .gnu.lto_ prefix on ELF targets when relocating

Nick Clifton nickc@redhat.com
Fri Aug 21 14:20:00 GMT 2009


Hi Richard,

> This implements support for GCC link-time optimization where GCC places
> internal representation of the program in .gnu.lto_ prefixed sections.
> When linking these section should be dropped.

> 2009-08-20  Richard Guenther  <rguenther@suse.de>
> 
> 	* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.

Approved and applied, but ...

Can these link-time optimizations be applied to targets other than x86 
types ?  If so, are we going to need similar patches to other linker 
script templates, such as:

   armpbabi.sc
   elf32sh-symbian.sc
   elf64hppa.sc
   elfxtensa.sc
   mep.sc

Cheers
   Nick




More information about the Binutils mailing list