1SCRIPT_NAME=elf
2if [ -z "$OUTPUT_FORMAT" ]; then
3    # Allow overriding externally to "elf32-tile64" if desired
4    OUTPUT_FORMAT=elf32-tilepro
5fi
6TEXT_START_ADDR=0x10000
7NO_REL_RELOCS=yes
8MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
9COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
10# See also `include/elf/tilepro.h'
11ARCH=tilepro
12ALIGNMENT=64
13MACHINE=
14NOP=0
15TEMPLATE_NAME=elf32
16GENERATE_SHLIB_SCRIPT=yes
17GENERATE_COMBRELOC_SCRIPT=yes
18GENERATE_PIE_SCRIPT=yes
19NO_SMALL_DATA=yes
20SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 8 ? 8 : 0"
21OTHER_SECTIONS="
22  /* TILEPRO architecture interrupt vector areas */
23  .intrpt0 0xfc000000 : { KEEP(*(.intrpt0)) }
24  .intrpt1 0xfd000000 : { KEEP(*(.intrpt1)) }
25  .intrpt2 0xfe000000 : { KEEP(*(.intrpt2)) }
26  .intrpt3 0xff000000 : { KEEP(*(.intrpt3)) }
27"
28