daily update
[binutils/dougsmingw.git] / ld / emulparams / elf32_spu.sh
blob6993ca734cf1ca05f4a899195119adc769a5d095
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.*)) }"
23 OTHER_READONLY_SECTIONS="
24 .fixup ${RELOCATING-0} : {
25 PROVIDE (__fixup_start = .);
26 KEEP(*(.fixup))