diff options
author | Jie Zhang <jie.zhang@analog.com> | 2005-12-28 06:01:48 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2005-12-28 06:01:48 +0000 |
commit | cdc34721c45ba23a37cb9870b6f122a8e3e3ced0 (patch) | |
tree | 1de2121502bebeb312f2e05f2b9d6cd817903ebb /ld/emulparams | |
parent | d5e99e64898cbf59481efaed94a79264688a3401 (diff) | |
download | binutils-cdc34721c45ba23a37cb9870b6f122a8e3e3ced0.zip binutils-cdc34721c45ba23a37cb9870b6f122a8e3e3ced0.tar.gz binutils-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-x | ld/emulparams/bfin.sh | 4 |
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 = .);" |