summaryrefslogtreecommitdiff
path: root/binutils/embedspu.sh
Commit message (Collapse)AuthorAgeFilesLines
* * embedspu.sh: Pass -Wa,-noexecstack to $CC.Alan Modra2008-10-091-1/+1
|
* * embedspu.sh: Test for presence of ._ea by looking at sectionAlan Modra2008-05-121-4/+3
| | | | table rather than looking at relocs. Correct toe_addr substitution.
* bfd/Alan Modra2008-05-071-4/+8
| | | | | | | | | | | | | | | | | | * 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.
* Change sources over to using GPLv3Nick Clifton2007-07-051-1/+1
|
* * embedspu.sh (relas): Correct sh_info parsing.Alan Modra2007-06-211-1/+1
|
* * embedspu.sh: Parse _SPUEAR_ symbol values as hex.Alan Modra2007-06-181-1/+1
|
* * embedspu.sh: Handle R_SPU_PPU* relocs with no symbol.Alan Modra2007-06-051-4/+4
|
* binutils/Alan Modra2007-05-291-5/+11
| | | | | | | | | | * embedspu.sh: Emit SPU ELF image to .data.rel.ro.speelf if pic or pie and image needs relocs. ld/ * emultempl/spuelf.em (base_name): New function, split out from.. (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu invocation if we deduce a shared lib or position independent executable build by looking at ctrbegin* linker input files.
* include/elf/Alan Modra2007-05-111-4/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * spu.h (R_SPU_PPU32, R_SPU_PPU64): Define. bfd/ * reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define. * elf-bfd.h (struct elf_backend_data): Change return type of elf_backend_relocate_section to int. * elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and R_SPU_PPU64. (spu_elf_bfd_to_reloc_type): Convert new relocs. (spu_elf_count_relocs): New function. (elf_backend_count_relocs): Define. (spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and R_SPU_PPU64 relocs. * elflink.c (elf_link_input_bfd): Emit relocs if relocate_section returns 2. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. gas/ * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call spu_cons for word. (md_assemble): Tidy use of insn.flag. (get_imm): Likewise. Handle uppercase input too. (spu_cons): New function. * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs. (TC_FORCE_RELOCATION): Don't resolve them either. binutils/ * embedspu.sh (find_prog): Prefer prog in same dir as embedspu over one found on the users path. (main): Generate .reloc for each R_SPU_PPU* reloc.
* * embedspu.sh: Correct toe_addr quoting.Alan Modra2007-03-271-1/+1
|
* * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. TightenAlan Modra2007-03-261-18/+44
| | | | | | .toe section and .toe address checks. Use .reloc for _EAR* symbols defined in non-BSS sections. Build table for _SPUEAR_ symbols.
* * embedspu.sh: Set type and size of global program handle symbol.Alan Modra2007-03-011-0/+2
|
* * embedspu.sh: Add -W to readelf invocation.Alan Modra2007-02-131-2/+2
|
* * embedspu.sh: New file.Alan Modra2007-01-111-0/+187
* Makefile.am (embedspu): Add rule. * configure.in (BUILD_MISC): Add embedspu for powerpc-linux. * Makefile.in: Regenerate. * configure: Regenerate.