7 OUTPUT_FORMAT
="elf64-littleaarch64"
8 BIG_OUTPUT_FORMAT
="elf64-bigaarch64"
9 LITTLE_OUTPUT_FORMAT
="elf64-littleaarch64"
13 EXTRA_EM_FILE
=aarch64elf
15 GENERATE_SHLIB_SCRIPT
=yes
16 GENERATE_PIE_SCRIPT
=yes
18 MAXPAGESIZE
="CONSTANT (MAXPAGESIZE)"
24 TEXT_START_ADDR
=0x00400000
26 DATA_START_SYMBOLS
="${CREATE_SHLIB+PROVIDE (}__data_start = .${CREATE_SHLIB+)};"
28 # AArch64 does not support .s* sections.
31 OTHER_BSS_SYMBOLS
="${CREATE_SHLIB+PROVIDE (}__bss_start__ = .${CREATE_SHLIB+)};"
32 OTHER_BSS_END_SYMBOLS
="${CREATE_SHLIB+PROVIDE (}_bss_end__ = .${CREATE_SHLIB+)}; ${CREATE_SHLIB+PROVIDE (}__bss_end__ = .${CREATE_SHLIB+)};"
33 OTHER_END_SYMBOLS
="${CREATE_SHLIB+PROVIDE (}__end__ = .${CREATE_SHLIB+)};"
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)) }'
38 # This sets the stack to the top of the simulator memory (2^19 bytes).