Add support for 64-bit ARM architecture: AArch64
[deliverable/binutils-gdb.git] / ld / emulparams / aarch64elf.sh
CommitLineData
a06ea964
NC
1ARCH=aarch64
2MACHINE=
3NOP=0
4
5SCRIPT_NAME=elf
6OUTPUT_FORMAT="elf64-littleaarch64"
7BIG_OUTPUT_FORMAT="elf64-bigaarch64"
8LITTLE_OUTPUT_FORMAT="elf64-littleaarch64"
9NO_REL_RELOCS=yes
10
11TEMPLATE_NAME=elf32
12EXTRA_EM_FILE=aarch64elf
13
14GENERATE_SHLIB_SCRIPT=yes
15MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
16
17ENTRY=_start
18EMBEDDED=yes
19SEPARATE_GOTPLT=24
20TEXT_START_ADDR=0x00400000
21
22DATA_START_SYMBOLS='__data_start = . ;';
23
24# AArch64 does not support .s* sections.
25NO_SMALL_DATA=yes
26
27OTHER_BSS_SYMBOLS='__bss_start__ = .;'
28OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;'
29OTHER_END_SYMBOLS='__end__ = . ;'
30
31OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }'
32ATTRS_SECTIONS='.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }'
33
34# This sets the stack to the top of the simulator memory (2^19 bytes).
35STACK_ADDR=0x80000
This page took 0.025762 seconds and 4 git commands to generate.