2 if [ -z "$OUTPUT_FORMAT" ]; then
3 # Allow overriding externally to "elf32-tile64" if desired
4 OUTPUT_FORMAT=elf32-tilepro
6 TEXT_START_ADDR=0x10000
8 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
9 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
10 # See also `include/elf/tilepro.h'
16 GENERATE_SHLIB_SCRIPT=yes
17 GENERATE_COMBRELOC_SCRIPT=yes
18 GENERATE_PIE_SCRIPT=yes
20 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 8 ? 8 : 0"
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)) }