1ARCH=aarch64 2MACHINE= 3NOP=0 4 5SCRIPT_NAME=elf 6ELFSIZE=64 7OUTPUT_FORMAT="elf64-littleaarch64" 8BIG_OUTPUT_FORMAT="elf64-bigaarch64" 9LITTLE_OUTPUT_FORMAT="elf64-littleaarch64" 10NO_REL_RELOCS=yes 11 12TEMPLATE_NAME=elf32 13EXTRA_EM_FILE=aarch64elf 14 15GENERATE_SHLIB_SCRIPT=yes 16GENERATE_PIE_SCRIPT=yes 17 18MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" 19 20ENTRY=_start 21EMBEDDED=yes 22SEPARATE_GOTPLT=24 23IREL_IN_PLT= 24TEXT_START_ADDR=0x00400000 25 26DATA_START_SYMBOLS='__data_start = . ;'; 27 28# AArch64 does not support .s* sections. 29NO_SMALL_DATA=yes 30 31OTHER_BSS_SYMBOLS='__bss_start__ = .;' 32OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ;' 33OTHER_END_SYMBOLS='__end__ = . ;' 34 35OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }' 36ATTRS_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). 39STACK_ADDR=0x80000 40