old-cross-binutils/ld/testsuite/ld-spu
Trevor Smigiel 9cc305ec20 bfd/
* elf32-spu.h (spu_elf_params): Add member emit_fixups.
	(spu_elf_size_sections): Declare prototype.
	* elf32-spu.c (spu_link_hash_table): Add member sfixup.
	(FIXUP_RECORD_SIZE, FIXUP_GET, FIXUP_PUT): New macros.
	(spu_elf_emit_fixup): New function.
	(spu_elf_relocate_section): Emit fixup for each SPU_ADDR32.
	(spu_elf_size_sections): New function.
ld/
	* emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
	section and __fixup_start symbol.
	* emultempl/spuelf.em (params): Initialize emit_fixups member.
	(spu_before_allocation): Call spu_elf_size_sections.
	(OPTION_SPU_EMIT_FIXUPS): Define.
	(PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
	(PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
	* ld.texinfo (--emit-fixups): Document.
ld/testsuite/
	* ld-spu/fixup.d: New.
	* ld-spu/fixup.s: New.
2009-08-05 20:40:34 +00:00
..
ear.d * ld-spu/spu.exp (embed_test): New. 2007-03-27 08:36:27 +00:00
ear.s bfd/ 2008-05-07 14:46:44 +00:00
embed.rd bfd/ 2008-05-07 14:46:44 +00:00
fixup.d bfd/ 2009-08-05 20:40:34 +00:00
fixup.s bfd/ 2009-08-05 20:40:34 +00:00
icache1.d bfd/ 2009-05-14 16:56:09 +00:00
icache1.s * ld-spu/icache1.s: New file. 2009-01-13 01:54:15 +00:00
ovl.d bfd/ 2009-05-14 15:26:36 +00:00
ovl.lnk ld/ 2008-01-25 12:03:37 +00:00
ovl.s * ld-spu/ovl.s (f4_a2): Tail call. 2007-03-23 00:48:05 +00:00
ovl1.lnk ld/ 2008-01-25 12:03:37 +00:00
ovl2.d bfd/ 2009-05-14 15:26:36 +00:00
ovl2.lnk ld/ 2008-01-25 12:03:37 +00:00
ovl2.s * ld-spu/ovl2.s: Extend to test jump table references and 2008-04-07 23:37:25 +00:00
pic.d include/elf/ 2009-07-24 19:51:27 +00:00
pic.s include/elf/ 2009-07-24 19:51:27 +00:00
picdef.s include/elf/ 2009-07-24 19:51:27 +00:00
spu.exp Update sources to GPLv3 2007-07-06 14:09:45 +00:00