2001-10-21 H.J. Lu <hjl@gnu.org>
[binutils-gdb.git] / ld / emulparams / armelf.sh
1 MACHINE=
2 SCRIPT_NAME=elf
3 OUTPUT_FORMAT="elf32-littlearm"
4 BIG_OUTPUT_FORMAT="elf32-bigarm"
5 LITTLE_OUTPUT_FORMAT="elf32-littlearm"
6 TEXT_START_ADDR=0x8000
7 TEMPLATE_NAME=elf32
8 EXTRA_EM_FILE=armelf
9 OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)'
10 OTHER_BSS_SYMBOLS='__bss_start__ = .;'
11 OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;'
12
13 GENERATE_SHLIB_SCRIPT=yes
14
15 ARCH=arm
16 MACHINE=
17 MAXPAGESIZE=256
18 ENTRY=_start
19 EMBEDDED=yes
20
21 # Hmmm, there's got to be a better way. This sets the stack to the
22 # top of the simulator memory (2^19 bytes).
23 OTHER_RELOCATING_SECTIONS='.stack 0x80000 : { _stack = .; *(.stack) }'