New ARC implementation.
[deliverable/binutils-gdb.git] / ld / emulparams / arcelf_prof.sh
1 SCRIPT_NAME=elfarc
2 TEMPLATE_NAME=elf32
3 if [ "x${ARC_ENDIAN}" = "xbig" ]; then
4 OUTPUT_FORMAT="elf32-bigarc"
5 else
6 OUTPUT_FORMAT="elf32-littlearc"
7 fi
8 LITTLE_OUTPUT_FORMAT="elf32-littlearc"
9 BIG_OUTPUT_FORMAT="elf32-bigarc"
10 # leave room for vector table, 32 vectors * 8 bytes
11 TEXT_START_ADDR=0x100
12 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
13 #NONPAGED_TEXT_START_ADDR=0x0
14 ARCH=arc
15 MACHINE=
16 ENTRY=__start
17 SDATA_START_SYMBOLS='__SDATA_BEGIN__ = .;'
18 OTHER_READONLY_SECTIONS="
19 .__arc_profile_desc ${RELOCATING-0} : { *(.__arc_profile_desc) }
20 .__arc_profile_forward ${RELOCATING-0} : { *(.__arc_profile_forward) }
21 "
22 OTHER_BSS_SECTIONS="
23 .__arc_profile_counters ${RELOCATING-0} : { *(.__arc_profile_counters) }
24 "
25 EMBEDDED=yes
This page took 0.030466 seconds and 4 git commands to generate.