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