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