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 9STARTUP_MEMORY=startup 10TEXT_MEMORY=text 11DATA_MEMORY=data 12SDATA_MEMORY=sdata 13ARCH=arc 14MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" 15GENERIC_BOARD=yes 16TEMPLATE_NAME=elf32 17LITTLE_OUTPUT_FORMAT="elf32-littlearc" 18BIG_OUTPUT_FORMAT="elf32-bigarc" 19TEXT_START_ADDR=0x100 20ENTRY=__start 21SDATA_START_SYMBOLS='__SDATA_BEGIN__ = .;' 22OTHER_SECTIONS="/DISCARD/ : { *(.__arc_profile_*) }" 23EMBEDDED=yes 24