Automatic date update in version.in
[binutils-gdb.git] / ld / emulparams / arclinux.sh
blob3a7347314ae43ff44755cefbe235fe625ee51625
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=elf
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