aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elfxtensa.sc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-08-24 15:22:59 +0000
committerNick Clifton <nickc@redhat.com>2009-08-24 15:22:59 +0000
commit43e56c3465048924a6b985e0e75bfe2a7ccaef0e (patch)
treea4fbc9072d7610959015e86d90980a7527508c71 /ld/scripttempl/elfxtensa.sc
parent8a0e27600ba9a8575365c257cda4816cdd7011a2 (diff)
downloadgdb-43e56c3465048924a6b985e0e75bfe2a7ccaef0e.zip
gdb-43e56c3465048924a6b985e0e75bfe2a7ccaef0e.tar.gz
gdb-43e56c3465048924a6b985e0e75bfe2a7ccaef0e.tar.bz2
* scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
.gnu.lto_ prefix. * scripttempl/armbpabi.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elf64hppa.sc: Likewise. * scripttempl/mep.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/elfxtensa.sc')
-rw-r--r--ld/scripttempl/elfxtensa.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/elfxtensa.sc b/ld/scripttempl/elfxtensa.sc
index df3ed8e..588ec0c 100644
--- a/ld/scripttempl/elfxtensa.sc
+++ b/ld/scripttempl/elfxtensa.sc
@@ -140,7 +140,7 @@ fi
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_*) }"
INIT_LIT=".init.literal 0 : { *(.init.literal) }"
INIT=".init 0 : { *(.init) }"
FINI_LIT=".fini.literal 0 : { *(.fini.literal) }"