aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf32sh-symbian.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/elf32sh-symbian.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/elf32sh-symbian.sc')
-rw-r--r--ld/scripttempl/elf32sh-symbian.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/elf32sh-symbian.sc b/ld/scripttempl/elf32sh-symbian.sc
index aab35d5..8e115b9 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.*}) }"
-STACKNOTE="/DISCARD/ : { *(.note.GNU-stack) *(.directive) }"
+DISCARDED="/DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.directive) }"
test -z "$GOT" && GOT=".got ${RELOCATING-0} : { *(.got.plt) *(.got) } :dynamic :dyn"
CTOR=".ctors ALIGN(4) :
{
@@ -380,6 +380,6 @@ cat <<EOF
${ATTRS_SECTIONS}
${OTHER_SECTIONS}
${RELOCATING+${OTHER_SYMBOLS}}
- ${RELOCATING+${STACKNOTE}}
+ ${RELOCATING+${DISCARDED}}
}
EOF