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