aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf.sc
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2005-12-28 06:01:48 +0000
committerJie Zhang <jie.zhang@analog.com>2005-12-28 06:01:48 +0000
commitcdc34721c45ba23a37cb9870b6f122a8e3e3ced0 (patch)
tree1de2121502bebeb312f2e05f2b9d6cd817903ebb /ld/scripttempl/elf.sc
parentd5e99e64898cbf59481efaed94a79264688a3401 (diff)
downloadgdb-cdc34721c45ba23a37cb9870b6f122a8e3e3ced0.zip
gdb-cdc34721c45ba23a37cb9870b6f122a8e3e3ced0.tar.gz
gdb-cdc34721c45ba23a37cb9870b6f122a8e3e3ced0.tar.bz2
* emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS.
And add a prefix '_' to ENTRY. * scripttempl/elf.sc: Add END_SYMBOLS.
Diffstat (limited to 'ld/scripttempl/elf.sc')
-rw-r--r--ld/scripttempl/elf.sc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index d7b0a79..ac0c725 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -452,8 +452,7 @@ cat <<EOF
${LARGE_SECTIONS}
${RELOCATING+. = ALIGN(${ALIGNMENT});}
${RELOCATING+${OTHER_END_SYMBOLS}}
- ${RELOCATING+_end = .;}
- ${RELOCATING+PROVIDE (end = .);}
+ ${RELOCATING+${END_SYMBOLS-_end = .; PROVIDE (end = .);}}
${RELOCATING+${DATA_SEGMENT_END}}
/* Stabs debugging sections. */