* callback.h: Remove ANSI_PROTOTYPES conditional code.
[binutils.git] / ld / emulparams / armelf.sh
blob497e1cc7f2aef07bd1d68eec0805f3e31861d52c
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 OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }'
13 OTHER_READONLY_SECTIONS="
14 .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) }
15 ${RELOCATING+ __exidx_start = .; }
16 .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) }
17 ${RELOCATING+ __exidx_end = .; }"
19 DATA_START_SYMBOLS='__data_start = . ;';
21 GENERATE_SHLIB_SCRIPT=yes
23 ARCH=arm
24 MACHINE=
25 MAXPAGESIZE=256
26 ENTRY=_start
27 EMBEDDED=yes
29 # This sets the stack to the top of the simulator memory (2^19 bytes).
30 STACK_ADDR=0x80000
32 # ARM does not support .s* sections.
33 NO_SMALL_DATA=yes