aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
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/emulparams
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/emulparams')
-rwxr-xr-xld/emulparams/bfin.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/emulparams/bfin.sh b/ld/emulparams/bfin.sh
index c8cea76..86d21b2 100755
--- a/ld/emulparams/bfin.sh
+++ b/ld/emulparams/bfin.sh
@@ -6,8 +6,10 @@ TARGET_PAGE_SIZE=0x1000
NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR}
ARCH=bfin
MACHINE=
-ENTRY=_start
+ENTRY=__start
TEMPLATE_NAME=elf32
GENERATE_SHLIB_SCRIPT=yes
EMBEDDED=yes
EXTRA_EM_FILE=bfin
+DATA_END_SYMBOLS="__edata = .; PROVIDE (_edata = .);"
+END_SYMBOLS="__end = .; PROVIDE (_end = .);"