merge from gcc
[binutils.git] / ld / emulparams / armelf.sh
blob6dc50b271fa960144a219538407337f243fa1827
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__ = . ;'
12 OTHER_END_SYMBOLS='__end__ = . ;'
13 OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }
14 .ARM.attributes 0 : { KEEP (*(.ARM.attributes)) }'
15 OTHER_READONLY_SECTIONS="
16 .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
17 ${RELOCATING+ __exidx_start = .; }
18 .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
19 ${RELOCATING+ __exidx_end = .; }"
21 DATA_START_SYMBOLS='__data_start = . ;';
23 GENERATE_SHLIB_SCRIPT=yes
25 ARCH=arm
26 MACHINE=
27 MAXPAGESIZE=256
28 ENTRY=_start
29 EMBEDDED=yes
31 # This sets the stack to the top of the simulator memory (2^19 bytes).
32 STACK_ADDR=0x80000
34 # ARM does not support .s* sections.
35 NO_SMALL_DATA=yes