* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.

This commit is contained in:
Nick Clifton 2009-08-21 10:38:14 +00:00
parent 90092760f3
commit 032b94c5fd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-08-21 Richard Guenther <rguenther@suse.de>
* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
2009-08-12 Tristan Gingold <gingold@adacore.com>
* ld.h (fat_user_section_struct): Add map_symbol_def_count field.

View File

@ -143,7 +143,7 @@ RELA_IPLT=".rela.iplt ${RELOCATING-0} :
DYNAMIC=".dynamic ${RELOCATING-0} : { *(.dynamic) }"
RODATA=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }"
DATARELRO=".data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*) }"
DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) }"
DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }"
if test -z "${NO_SMALL_DATA}"; then
SBSS=".sbss ${RELOCATING-0} :
{