aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elfxtensa.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-07-10 04:53:13 +0000
committerAlan Modra <amodra@gmail.com>2007-07-10 04:53:13 +0000
commit1c68693b0ced40f9089d426e59e03cab9a0d1865 (patch)
treea47b3a1197bb82158cab0b1169a7baadca6f97c2 /ld/scripttempl/elfxtensa.sc
parent1489a3a0d7ff90c78a7ad3309899d0fd482672f9 (diff)
downloadgdb-1c68693b0ced40f9089d426e59e03cab9a0d1865.zip
gdb-1c68693b0ced40f9089d426e59e03cab9a0d1865.tar.gz
gdb-1c68693b0ced40f9089d426e59e03cab9a0d1865.tar.bz2
* scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
.gnu.debuglink. * scripttempl/armbpabi.sc: Likewise. * scripttempl/elf32sh-symbian.sc: Likewise. * scripttempl/elfxtensa.sc: Likewise. * scripttempl/mep.sc: Likewise.
Diffstat (limited to 'ld/scripttempl/elfxtensa.sc')
-rw-r--r--ld/scripttempl/elfxtensa.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/elfxtensa.sc b/ld/scripttempl/elfxtensa.sc
index 29282aa..1bbd7e4 100644
--- a/ld/scripttempl/elfxtensa.sc
+++ b/ld/scripttempl/elfxtensa.sc
@@ -137,7 +137,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.*) }"
-STACKNOTE="/DISCARD/ : { *(.note.GNU-stack) }"
+DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) }"
INIT_LIT=".init.literal 0 : { *(.init.literal) }"
INIT=".init 0 : { *(.init) }"
FINI_LIT=".fini.literal 0 : { *(.fini.literal) }"
@@ -538,6 +538,6 @@ cat <<EOF
${ATTRS_SECTIONS}
${OTHER_SECTIONS}
${RELOCATING+${OTHER_SYMBOLS}}
- ${RELOCATING+${STACKNOTE}}
+ ${RELOCATING+${DISCARDED}}
}
EOF