mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
8374f9d4b5
* elf32-spu.c (spu_elf_special_sections): Add "._ea". (spu_elf_relocate_section): Handle relocations against symbols defined in ._ea specially. binutils/ * embedspu.sh: Take note of R_SPU_PPU32/64 relocs without a symbol, and if present, put image in ".data.speelf". Put program handle in ".data.spehandle". ld/emulparams/ * elf32_spu.sh (OTHER_SECTIONS): Add "._ea". * elf32ppc.sh: If building with spu support, put ".data.spehandle" sections at the start of ".data" and provide a symbol to locate the directory of embedded spe programs. ld/testsuite/ * ld-spu/ear.s: Align various sections. * ld-spu/embed.rd: Update.
17 lines
684 B
R
17 lines
684 B
R
|
|
Relocation section '\.rela\.rodata\.speelf' at .* contains 3 entries:
|
|
Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
|
|
0+184 .* R_PPC_ADDR32 +0+0 +main \+ 0
|
|
0+1a4 .* R_PPC_ADDR32 +0+0 +foo \+ 0
|
|
0+1b4 .* R_PPC_ADDR32 +0+0 +blah \+ 0
|
|
|
|
Relocation section '\.rela\.data\.spetoe' at .* contains 2 entries:
|
|
Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
|
|
0+004 .* R_PPC_ADDR32 +0+0 +\.rodata\.speelf \+ 0
|
|
0+014 .* R_PPC_ADDR32 +0+0 +bar \+ 0
|
|
|
|
Relocation section '\.rela\.data\.spehandle' at .* contains 2 entries:
|
|
Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
|
|
0+004 .* R_PPC_ADDR32 +0+0 +\.rodata\.speelf \+ 0
|
|
0+008 .* R_PPC_ADDR32 +0+0 +\.data\.spetoe \+ 0
|