aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32sh-symbian.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/elf32sh-symbian.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/elf32sh-symbian.sc')
-rw-r--r--ld/scripttempl/elf32sh-symbian.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/elf32sh-symbian.sc b/ld/scripttempl/elf32sh-symbian.sc
index b86a5b6..a0b6a4f 100644
--- a/ld/scripttempl/elf32sh-symbian.sc
+++ b/ld/scripttempl/elf32sh-symbian.sc
@@ -83,7 +83,7 @@ fi
PLT=".plt : { *(.plt) } :dynamic :dyn"
DYNAMIC=".dynamic : { *(.dynamic) } :dynamic :dyn"
RODATA=".rodata ALIGN(4) : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }"
-DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.directive) }"
+DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.directive) *(.gnu.lto_*) }"
test -z "$GOT" && GOT=".got ${RELOCATING-0} : { *(.got.plt) *(.got) } :dynamic :dyn"
CTOR=".ctors ALIGN(4) :
{