* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / emulparams / elf32tilegx.sh
blob92121e7ef273e74ec3f3e153178082cd47ec96af
1 SCRIPT_NAME=elf
2 OUTPUT_FORMAT="elf32-tilegx-le"
3 BIG_OUTPUT_FORMAT="elf32-tilegx-be"
4 LITTLE_OUTPUT_FORMAT="elf32-tilegx-le"
5 TEXT_START_ADDR=0x10000
6 NO_REL_RELOCS=yes
7 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
8 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
9 # See also `include/elf/tilegx.h'
10 ARCH=tilegx
11 ALIGNMENT=64
12 MACHINE=
13 NOP=0
14 TEMPLATE_NAME=elf32
15 GENERATE_SHLIB_SCRIPT=yes
16 GENERATE_COMBRELOC_SCRIPT=yes
17 GENERATE_PIE_SCRIPT=yes
18 NO_SMALL_DATA=yes
19 SEPARATE_GOTPLT=8
20 # Look for 32 bit target libraries in /lib32, /usr/lib32 etc., first.
21 LIBPATH_SUFFIX=32
22 OTHER_SECTIONS="
23 /* TILE architecture interrupt vector areas */
24 .intrpt0 0xfc000000 : { KEEP(*(.intrpt0)) }
25 .intrpt1 0xfd000000 : { KEEP(*(.intrpt1)) }
26 .intrpt2 0xfe000000 : { KEEP(*(.intrpt2)) }
27 .intrpt3 0xff000000 : { KEEP(*(.intrpt3)) }