This commit was generated by cvs2svn to track changes on a CVS vendor
[external/binutils.git] / ld / emulparams / elf32mcore.sh
1 SCRIPT_NAME=elf
2 OUTPUT_FORMAT="elf32-mcore-big"
3 BIG_OUTPUT_FORMAT="elf32-mcore-big"
4 LITTLE_OUTPUT_FORMAT="elf32-mcore-little"
5 PAGE_SIZE=0x1000
6 TARGET_PAGE_SIZE=0x400
7 MAXPAGESIZE=0x1000
8 TEXT_START_ADDR=0
9 NONPAGED_TEXT_START_ADDR=0
10 ARCH=mcore
11 # 1211 == mov r1,r1
12 NOP=0x1211
13 EMBEDDED=yes
14
15 OTHER_BSS_SYMBOLS="__bss_start__ = . ;"
16 OTHER_BSS_END_SYMBOLS="__bss_end__ = . ;"
17
18 # Hmmm, there's got to be a better way.  This sets the stack to the
19 # top of the simulator memory (2^19 bytes).
20 OTHER_RELOCATING_SECTIONS='.stack 0x80000 : { _stack = .; *(.stack) }'