summaryrefslogtreecommitdiff
path: root/ld/emulparams/elf64tilegx.sh
blob: 51cbef7f3da19a45add823415973d659868979a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf64-tilegx-le"
BIG_OUTPUT_FORMAT="elf64-tilegx-be"
LITTLE_OUTPUT_FORMAT="elf64-tilegx-le"
TEXT_START_ADDR=0x10000
NO_REL_RELOCS=yes
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
# See also `include/elf/tilegx.h'
ARCH=tilegx
ALIGNMENT=64
MACHINE=
NOP=0
# Note that "elf32.em" actually handles elf64 also.
TEMPLATE_NAME=elf32
GENERATE_SHLIB_SCRIPT=yes
GENERATE_COMBRELOC_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
NO_SMALL_DATA=yes
SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 16 ? 16 : 0"
OTHER_SECTIONS="
  /* TILE architecture interrupt vector areas */
  .intrpt0 0xfffffffffc000000 : { KEEP(*(.intrpt0)) }
  .intrpt1 0xfffffffffd000000 : { KEEP(*(.intrpt1)) }
  .intrpt2 0xfffffffffe000000 : { KEEP(*(.intrpt2)) }
  .intrpt3 0xffffffffff000000 : { KEEP(*(.intrpt3)) }
"