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