6 OUTPUT_FORMAT
="elf64-littleaarch64"
7 BIG_OUTPUT_FORMAT
="elf64-bigaarch64"
8 LITTLE_OUTPUT_FORMAT
="elf64-littleaarch64"
12 EXTRA_EM_FILE
=aarch64elf
14 GENERATE_SHLIB_SCRIPT
=yes
15 GENERATE_PIE_SCRIPT
=yes
17 MAXPAGESIZE
="CONSTANT (MAXPAGESIZE)"
18 COMMONPAGESIZE
="CONSTANT (COMMONPAGESIZE)"
22 TEXT_START_ADDR
=0x400000
24 DATA_START_SYMBOLS
='PROVIDE (__data_start = .);';
26 # AArch64 does not support .s* sections.
29 OTHER_BSS_SYMBOLS
='__bss_start__ = .;'
30 OTHER_BSS_END_SYMBOLS
='_bss_end__ = . ; __bss_end__ = . ;'
31 OTHER_END_SYMBOLS
='__end__ = . ;'
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 # Ensure each PLT entry is aligned to a cache line.
36 PLT
=".plt ${RELOCATING-0} : ALIGN(16) { *(.plt)${IREL_IN_PLT+ *(.iplt)} }"
38 # Linux modifies the default library search path to first include
39 # a 64-bit specific directory.
42 case "$EMULATION_NAME" in
43 aarch64linux
*) LIBPATH_SUFFIX
=64 ;;