S/390: Move binary start to 16M.
[external/binutils.git] / ld / emulparams / arclinux.sh
1 . ${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
19
20 OTHER_SECTIONS="/DISCARD/ : { *(.__arc_profile_*) }"
21
22 # To support RELRO security feature.
23 NO_SMALL_DATA=yes
24 SEPARATE_GOTPLT=4
25 GENERATE_COMBRELOC_SCRIPT=yes