1. ${srcdir}/emulparams/arc-endianness.sh 2SCRIPT_NAME=elfarc 3TEMPLATE_NAME=elf32 4if [ "x${ARC_ENDIAN}" = "xbig" ]; then 5 OUTPUT_FORMAT="elf32-bigarc" 6else 7 OUTPUT_FORMAT="elf32-littlearc" 8fi 9LITTLE_OUTPUT_FORMAT="elf32-littlearc" 10BIG_OUTPUT_FORMAT="elf32-bigarc" 11# leave room for vector table, 32 vectors * 8 bytes 12TEXT_START_ADDR=0x100 13MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" 14#NONPAGED_TEXT_START_ADDR=0x0 15ARCH=arc 16MACHINE= 17ENTRY=__start 18SDATA_START_SYMBOLS='__SDATA_BEGIN__ = .;' 19OTHER_SECTIONS="/DISCARD/ : { *(.__arc_profile_*) }" 20EMBEDDED=yes 21 22GENERATE_SHLIB_SCRIPT=yes 23