aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/armbpabi.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/armbpabi.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/armbpabi.sc')
-rw-r--r--ld/scripttempl/armbpabi.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/armbpabi.sc b/ld/scripttempl/armbpabi.sc
index abcb69f..90da2ed 100644
--- a/ld/scripttempl/armbpabi.sc
+++ b/ld/scripttempl/armbpabi.sc
@@ -30,7 +30,7 @@ INTERP=".interp 0 : { *(.interp) }"
PLT=".plt ${RELOCATING-0} : { *(.plt) }"
RODATA=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }"
DATARELRO=".data.rel.ro : { *(.data.rel.ro.local) *(.data.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} :
{