Set OSABI field back to 0 (SysV), to avoid interoperability problems
[nacl-binutils.git] / ld / emulparams / elf32_spu.sh
blob4af608cb2e179e3b0373ec079da960f0f8815a08
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 : { KEEP(*(.note.spu_name)) }"