diff options
author | Nick Clifton <nickc@redhat.com> | 2009-08-21 10:38:14 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-08-21 10:38:14 +0000 |
commit | 032b94c5fd9c2734a401798341eece75159ad0fb (patch) | |
tree | a3e7039fb96470fb9ddd60dccf634abe7234059e /ld/scripttempl | |
parent | 90092760f359c6438a856a0d001e254c80e7b5c1 (diff) | |
download | gdb-032b94c5fd9c2734a401798341eece75159ad0fb.zip gdb-032b94c5fd9c2734a401798341eece75159ad0fb.tar.gz gdb-032b94c5fd9c2734a401798341eece75159ad0fb.tar.bz2 |
* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/elf.sc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index 69e25c3..b3aea40 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -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} : { |