1 source_sh
${srcdir}/emulparams
/arc-endianness.sh
4 if [ "x${ARC_ENDIAN}" = "xbig" ]; then
5 OUTPUT_FORMAT
="elf32-bigarc"
7 OUTPUT_FORMAT
="elf32-littlearc"
9 LITTLE_OUTPUT_FORMAT
="elf32-littlearc"
10 BIG_OUTPUT_FORMAT
="elf32-bigarc"
11 TEXT_START_ADDR
=0x10000
12 MAXPAGESIZE
="CONSTANT (MAXPAGESIZE)"
13 COMMONPAGESIZE
="CONSTANT (COMMONPAGESIZE)"
16 EXTRA_EM_FILE
=arclinux
17 GENERATE_SHLIB_SCRIPT
=yes
18 GENERATE_PIE_SCRIPT
=yes
20 OTHER_SECTIONS
="/DISCARD/ : { *(.__arc_profile_*) }"
22 # To support RELRO security feature.
25 GENERATE_COMBRELOC_SCRIPT
=yes