[PATCH 25/57][Arm][GAS] Add support for MVE instruction: vmvn, vqabs and vqneg
[binutils-gdb.git] / ld / emulparams / arclinux.sh
blobd34281921506c72bdc57f0c0afd890e84e64ef2a
1 source_sh ${srcdir}/emulparams/arc-endianness.sh
2 ARCH=arc
3 SCRIPT_NAME=arclinux
4 if [ "x${ARC_ENDIAN}" = "xbig" ]; then
5 OUTPUT_FORMAT="elf32-bigarc"
6 else
7 OUTPUT_FORMAT="elf32-littlearc"
8 fi
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)"
14 ENTRY=__start
15 TEMPLATE_NAME=elf32
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.
23 NO_SMALL_DATA=yes
24 SEPARATE_GOTPLT=4
25 GENERATE_COMBRELOC_SCRIPT=yes