* Makefile.tpl (build_alias, host_alias, target_alias): Use
[binutils.git] / ld / emulparams / elf32_spu.sh
blob4c323c2508bffbb82b7aa7c762c76d41fd37b038
1 SCRIPT_NAME=elf
2 TEMPLATE_NAME=elf32
3 EXTRA_EM_FILE=spuelf
4 OUTPUT_FORMAT="elf32-spu"
5 ARCH=spu
6 MACHINE=
7 ALIGNMENT=16
8 TEXT_START_ADDR=0
9 INITIAL_READONLY_SECTIONS='.interrupt : { KEEP(*(.interrupt)) }'
10 if test -z "${CREATE_SHLIB}"; then
11 INITIAL_READONLY_SECTIONS="${INITIAL_READONLY_SECTIONS}
12 .interp ${RELOCATING-0} : { *(.interp) }"
14 OTHER_END_SYMBOLS='PROVIDE (__stack = 0x3fff0);'
15 NO_SMALL_DATA=true
16 EMBEDDED=true
17 MAXPAGESIZE=0x80
18 DATA_ADDR="ALIGN(${MAXPAGESIZE})"
19 OTHER_BSS_SECTIONS=".toe ALIGN(128) : { *(.toe) } = 0"
20 OTHER_SECTIONS=".note.spu_name 0 : { *(.note.spu_name) }"