1. ${srcdir}/emulparams/arc-endianness.sh 2MACHINE= 3SCRIPT_NAME=elfarcv2 4if [ "x${ARC_ENDIAN}" = "xbig" ]; then 5 OUTPUT_FORMAT="elf32-bigarc" 6else 7 OUTPUT_FORMAT="elf32-littlearc" 8fi 9ICCM_SIZE=2M 10RAM_START_ADDR=0x80000000 11RAM_SIZE=2M 12STARTUP_MEMORY=ICCM 13TEXT_MEMORY=ICCM 14DATA_MEMORY=DCCM 15SDATA_MEMORY=DCCM 16ARCH=arc 17MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" 18EMBEDDED=yes 19GENERIC_BOARD=no 20TEMPLATE_NAME=elf32 21LITTLE_OUTPUT_FORMAT="elf32-littlearc" 22BIG_OUTPUT_FORMAT="elf32-bigarc" 23TEXT_START_ADDR=0x100 24ENTRY=__start 25SDATA_START_SYMBOLS='__SDATA_BEGIN__ = .;' 26OTHER_SECTIONS="/DISCARD/ : { *(.__arc_profile_*) }" 27