Commit | Line | Data |
---|---|---|
a06ea964 NC |
1 | ARCH=aarch64 |
2 | MACHINE= | |
9a2ebffd | 3 | NOP=0x1f2003d5 |
a06ea964 NC |
4 | |
5 | SCRIPT_NAME=elf | |
4390599b | 6 | ELFSIZE=64 |
a06ea964 NC |
7 | OUTPUT_FORMAT="elf64-littleaarch64" |
8 | BIG_OUTPUT_FORMAT="elf64-bigaarch64" | |
9 | LITTLE_OUTPUT_FORMAT="elf64-littleaarch64" | |
10 | NO_REL_RELOCS=yes | |
11 | ||
12 | TEMPLATE_NAME=elf32 | |
13 | EXTRA_EM_FILE=aarch64elf | |
14 | ||
15 | GENERATE_SHLIB_SCRIPT=yes | |
3af09e8d RM |
16 | GENERATE_PIE_SCRIPT=yes |
17 | ||
a06ea964 NC |
18 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
19 | ||
20 | ENTRY=_start | |
21 | EMBEDDED=yes | |
22 | SEPARATE_GOTPLT=24 | |
1419bbe5 | 23 | IREL_IN_PLT= |
a06ea964 NC |
24 | TEXT_START_ADDR=0x00400000 |
25 | ||
26 | DATA_START_SYMBOLS='__data_start = . ;'; | |
27 | ||
28 | # AArch64 does not support .s* sections. | |
29 | NO_SMALL_DATA=yes | |
30 | ||
31 | OTHER_BSS_SYMBOLS='__bss_start__ = .;' | |
32 | OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;' | |
33 | OTHER_END_SYMBOLS='__end__ = . ;' | |
34 | ||
35 | OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }' | |
36 | ATTRS_SECTIONS='.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }' | |
37 | ||
38 | # This sets the stack to the top of the simulator memory (2^19 bytes). | |
39 | STACK_ADDR=0x80000 |