old-cross-binutils/ld/testsuite
Alan Modra cd4a7468c9 bfd/
* elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
	num_lines_log2.
	(struct got_entry): Add br_addr.
	(struct call_info): Add priority.
	(struct function_info): Add lr_store and sp_adjust.
	(spu_elf_setup): Init line_size_log2 and num_lines_log2.
	(spu_elf_find_overlays): For soft-icache, mark any section within cache
	area as an overlay, and check that no other overlays exist.  Look up
	icache overlay manager entry sym.
	(BRA_STUBS, BRA, BRASL): Define.
	(enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
	(needs_ovl_stub): Adjust for soft-icache.  Return priority encoded
	in branch insn.
	(count_stub, build_stub): Support soft-icache.
	(build_spuear_stubs, process_stubs): Adjust build_stub call.
	(spu_elf_size_stubs): Size soft-icache stubs.
	(overlay_index): New function.
	(spu_elf_build_stubs): Make static.  Support soft-icache.
	(spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
	(find_function_stack_adjust): Save lr store and stack adjust insn
	offsets.
	(maybe_insert_function): Adjust find_function_stack_adjust call.
	(mark_functions_via_relocs): Retrieve priority.
	(remove_cycles): Only warn about pruned arcs when stack_analysis.
	(sort_calls): Sort by priority first.
	(mark_overlay_section): Ignore .ovl.init.
	(sum_stack): Only print when stack_analysis.
	(print_one_overlay_section): New function, extracted from..
	(spu_elf_auto_overlay): ..here.  Support soft-icache overlays.
	(spu_elf_stack_analysis): Only print when htab->stack_analysis.
	(spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
	analysis.  Call spu_elf_build_stubs.
	(spu_elf_relocate_section): For soft-icache encode overlay index
	into addresses.
	(spu_elf_output_symbol_hook): Support soft-icache.
	(spu_elf_modify_program_headers: Likewise.
	* elf32-spu.h (struct spu_elf_params): Add lrlive_analysis.  Rename
	num_regions to num_lines.  Add line_size and max_branch.
	(enum _ovly_flavour): Add ovly_soft_icache.
	(spu_elf_build_stubs): Delete.
gas/
	* config/tc-spu.c (md_pseudo_table): Add "brinfo".
	(brinfo): New var.
	(md_assemble): Poke brinfo into branch instructions.
	(spu_brinfo): New function.
	(md_apply_fix): Don't assume insn fields start off at zero, mask
	them to remove possible brinfo.
ld/
	* emultempl/spuelf.em (params): Init new fields.
	(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
	(spu_place_special_section): Adjust placement for soft-icache.  Pad
	soft-icache section to a fixed size.  Clear addr_tree.
	(spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
	sections a little more intelligently.
	(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
	(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
	(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
	(OPTION_SPU_LRLIVE): Define.
	(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
	(PARSE_AND_LIST_OPTIONS): Likewise.
	(PARSE_AND_LIST_ARGS_CASES): Handle them.
	* emultempl/spu_icache.S: Dummy file.
	* emultempl/spu_icache.o_c: Regenerate.
	* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
	(spu_icache.o_c): Add rule to build.
	(CLEANFILES): Zap temp files.
	(EXTRA_DIST): Add spu_icache.o_c.
	* Makefile.in: Regenerate.
ld/testsuite/
	* ld-spu/ovl.d: Allow for absolute branches in stubs.
	* ld-spu/ovl2.d: Likewise.
2009-01-12 00:23:58 +00:00
..
config bfd: 2007-08-28 13:21:58 +00:00
ld-alpha Update for elf_link_output_extsym change 2008-07-22 14:15:32 +00:00
ld-arm opcodes: 2008-12-15 17:24:13 +00:00
ld-auto-import * ld-auto-import/auto-import.exp: Use $ld to link the dll for 2008-02-20 17:51:18 +00:00
ld-bootstrap Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-cdtest * ld-cdtest/cdtest-foo.cc (strncpy): Fix parameter name. 2007-07-25 21:30:59 +00:00
ld-checks bfd: 2007-08-28 13:21:58 +00:00
ld-cris * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d, 2009-01-07 03:27:11 +00:00
ld-crx Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-cygwin Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-d10v Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-discard Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-elf bfd/ 2009-01-11 21:09:49 +00:00
ld-elfcomm Fix testcases compilation failures due to unused variables. 2008-09-17 07:43:49 +00:00
ld-elfvers * ld-elfvers/vers.exp (test_ar): Sort the expected output so that 2008-01-28 16:41:05 +00:00
ld-elfvsb Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-elfweak Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-fastcall Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-frv Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-gc * ld-gc/gc.c (dummy_func): New function - present so that 2008-10-29 08:29:02 +00:00
ld-h8300 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-i386 Remove STT_IFUNC support. 2008-12-23 09:01:51 +00:00
ld-ia64 * readelf.c (process_section_headers): Do not cut the section names and 2008-10-07 12:03:18 +00:00
ld-libs Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-linkonce Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-m68hc11 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-m68k 2008-07-11 H.J. Lu <hongjiu.lu@intel.com> 2008-07-11 17:19:00 +00:00
ld-maxq Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mep Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mips-elf include/elf/ 2008-12-03 14:51:00 +00:00
ld-mmix PR gas/6607 2008-06-16 15:07:01 +00:00
ld-mn10300 * ld-elf/flags1.d: Add xfails for ports for which the test will work. 2007-12-31 11:29:01 +00:00
ld-pe * ld-pe/pe.exp: Special diff file for x86_64-mingw target. 2007-08-06 14:41:51 +00:00
ld-pie Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-powerpc include/elf/ 2008-10-10 20:55:36 +00:00
ld-s390 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
ld-scripts * ld-scripts/include.exp: Don't run test for aout. 2008-07-26 01:23:37 +00:00
ld-selective 2007-09-30 Mike Frysinger <vapier@gentoo.org> 2007-09-30 15:26:43 +00:00
ld-sh * ld-sh/arch/arch_expected.txt: Regenerate. 2008-06-09 22:22:05 +00:00
ld-shared Fix testcases compilation failures due to unused variables. 2008-09-17 07:43:49 +00:00
ld-sparc bfd/ 2008-04-16 08:51:18 +00:00
ld-spu bfd/ 2009-01-12 00:23:58 +00:00
ld-srec * ld-srec/srec.exp: Define __stack_chk_fail sym. 2007-10-12 04:38:29 +00:00
ld-undefined binutils/testsuite/ 2008-02-04 23:41:54 +00:00
ld-v850 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-versados Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-vxworks bfd/ 2008-04-21 17:54:25 +00:00
ld-x86-64 Remove STT_IFUNC support. 2008-12-23 09:01:51 +00:00
ld-xc16x Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-xstormy16 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-xtensa 2008-08-20 Bob Wilson <bob.wilson@acm.org> 2008-08-20 23:28:59 +00:00
lib bfd/ 2009-01-02 16:48:11 +00:00
ChangeLog bfd/ 2009-01-12 00:23:58 +00:00
ChangeLog-2004 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2005 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2006 Move 2006 ChangeLog entries to ChangeLog-2006. 2007-01-09 17:30:59 +00:00
ChangeLog-2007 bfd/ 2008-01-07 16:45:35 +00:00
ChangeLog-2008 bfd/ 2009-01-02 16:48:11 +00:00
ChangeLog-9303 Split ChangeLog files. 2004-01-02 11:16:21 +00:00