binutils-gdb/gas/config
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
..
aout_gnu.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
atof-ieee.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
atof-vax.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
bfin-aux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
bfin-defs.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
bfin-lex.l * config/bfin-lex.l (NUMBER): Protect special `.'. 2008-08-22 07:21:49 +00:00
bfin-parse.y * config/bfin-parse.y: Use C style comments. 2008-10-20 01:03:50 +00:00
e-crisaout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-criself.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386aout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386coff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386elf.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-mipsecoff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-mipself.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
itbl-mips.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
m68k-parse.h gas/ 2007-09-27 11:14:10 +00:00
m68k-parse.y Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-aout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-aout.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-coff.c * read.c (potable): Add string8, string16, string32 and string64. Add bit size for stringer function. 2007-10-04 17:05:37 +00:00
obj-coff.h gas/ 2007-07-04 15:32:46 +00:00
obj-ecoff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-ecoff.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-elf.c Remove STT_IFUNC support. 2008-12-23 09:01:51 +00:00
obj-elf.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-evax.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
obj-evax.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-fdpicelf.c 2008-04-23 Mike Frysinger <vapier@gentoo.org> 2008-04-23 18:40:34 +00:00
obj-fdpicelf.h 2008-04-23 Mike Frysinger <vapier@gentoo.org> 2008-04-23 18:40:34 +00:00
obj-multi.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-multi.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-som.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
obj-som.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-alpha.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-alpha.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-arc.c PR gas/5172 2007-10-18 13:03:12 +00:00
tc-arc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-arm.c Add support for ARM half-precision conversion instructions. 2008-11-18 15:45:05 +00:00
tc-arm.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-avr.c * config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd, 2008-12-23 09:51:38 +00:00
tc-avr.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-bfin.c Remove unnecessary casts on obstack_alloc invocations. 2008-10-21 00:26:17 +00:00
tc-bfin.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-cr16.c * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined 2008-11-27 11:57:29 +00:00
tc-cr16.h * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined 2008-11-27 11:57:29 +00:00
tc-cris.c * config/tc-cris.c (s_cris_dtpoff): New function. 2008-12-21 20:16:47 +00:00
tc-cris.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-crx.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-crx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-d10v.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-d10v.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-d30v.c * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to 2008-02-12 08:37:08 +00:00
tc-d30v.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-dlx.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-dlx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-fr30.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-fr30.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-frv.c * config/tc-frv.c (md_apply_fix): Use abs_section_sym for 2008-09-15 05:22:32 +00:00
tc-frv.h * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic. 2008-09-19 10:00:40 +00:00
tc-generic.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-generic.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-h8300.c * NEWS: Mention these changes. 2008-08-06 15:42:15 +00:00
tc-h8300.h * NEWS: Mention these changes. 2008-08-06 15:42:15 +00:00
tc-hppa.c * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to 2008-09-09 00:53:35 +00:00
tc-hppa.h * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic. 2008-09-19 10:00:40 +00:00
tc-i370.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-i370.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-i386.c gas/ 2009-01-10 17:25:52 +00:00
tc-i386.h gas/ 2009-01-10 17:25:52 +00:00
tc-i860.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-i860.h PR gas/5172 2007-10-18 13:03:12 +00:00
tc-i960.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-i960.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-ia64.c gas/ 2008-08-28 14:07:50 +00:00
tc-ia64.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-ip2k.c PR gas/5172 2007-10-18 13:03:12 +00:00
tc-ip2k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-iq2000.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-iq2000.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-lm32.c Add LM32 port. 2008-12-23 19:10:25 +00:00
tc-lm32.h Add LM32 port. 2008-12-23 19:10:25 +00:00
tc-m32c.c * config/tc-m32c.c (md_pseudo_table): Add support for .loc et al. 2008-11-26 18:44:14 +00:00
tc-m32c.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-m32r.c * config/tc-m32r.c (md_begin): Mark .sbss as being bss style section. 2007-12-10 23:33:46 +00:00
tc-m32r.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68hc11.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-m68hc11.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68k.c Remove unnecessary casts on obstack_alloc invocations. 2008-10-21 00:26:17 +00:00
tc-m68k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68851.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-maxq.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-maxq.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mcore.c * config/tc-mcore.c (md_assemble): Increase length of name array 2008-08-22 17:05:40 +00:00
tc-mcore.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mep.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mep.h * config/tc-mep.h (skip_whitespace): Remove definition. 2007-07-24 12:38:35 +00:00
tc-mips.c 2009-01-06 Chao-ying Fu <fu@mips.com> 2009-01-06 19:22:11 +00:00
tc-mips.h gas/ 2008-09-06 08:47:00 +00:00
tc-mmix.c * config/tc-frv.c (md_apply_fix): Use abs_section_sym for 2008-09-15 05:22:32 +00:00
tc-mmix.h 2008-10-07 H.J. Lu <hongjiu.lu@intel.com> 2008-10-07 14:21:59 +00:00
tc-mn10200.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mn10200.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mn10300.c * config/tc-mn10300.c (has_known_symbol_location): New function. 2008-02-18 10:03:06 +00:00
tc-mn10300.h * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic. 2008-09-19 10:00:40 +00:00
tc-msp430.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-msp430.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mt.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mt.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-ns32k.c Remove unnecessary casts on obstack_alloc invocations. 2008-10-21 00:26:17 +00:00
tc-ns32k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-openrisc.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-openrisc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-or32.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-or32.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-pdp11.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-pdp11.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-pj.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-pj.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-ppc.c gas/ 2009-01-09 18:50:58 +00:00
tc-ppc.h include/opcode/ 2008-06-13 20:16:00 +00:00
tc-s390.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-s390.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-score.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-score.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-sh.c * NEWS: Mention these changes. 2008-08-06 15:42:15 +00:00
tc-sh.h * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic. 2008-09-19 10:00:40 +00:00
tc-sh64.c PR gas/6043 2008-04-07 02:55:08 +00:00
tc-sh64.h * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic. 2008-09-19 10:00:40 +00:00
tc-sparc.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-sparc.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-spu.c bfd/ 2009-01-12 00:23:58 +00:00
tc-spu.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-tic4x.c * coffgen.c (coff_write_symbols): Check to see if a symbol's flags 2008-09-30 10:50:03 +00:00
tc-tic4x.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-tic30.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-tic30.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-tic54x.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-tic54x.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-v850.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-v850.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-vax.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-vax.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xc16x.c PR gas/5175 2007-10-18 11:01:24 +00:00
tc-xc16x.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xstormy16.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-xstormy16.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xtensa.c 2009-01-07 Sterling Augustine <sterling@tensilica.com> 2009-01-07 17:41:09 +00:00
tc-xtensa.h 2008-11-04 Sterling Augustine <sterling@tensilica.com> 2008-11-04 23:11:02 +00:00
tc-z8k.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-z8k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-z80.c Fix Opcode generation of ld a,(bc) and ld a,(de) on target z80 2008-09-14 05:40:09 +00:00
tc-z80.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-386bsd.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-aix5.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-armeabi.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-armlinuxeabi.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-dynix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-epoc-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-freebsd.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-generic.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-gnu.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-go32.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppa.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppa64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppalinux64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hpux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-i386aix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-ia64aix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-interix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-irix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-linux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-lnews.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-lynx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-mach.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-macos.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-nbsd.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-nbsd532.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-netware.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pc532mach.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pep.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-psos.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-riscix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-solaris.h * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h. 2008-09-26 07:02:44 +00:00
te-sparcaout.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-sun3.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-svr4.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-symbian.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-tmips.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-vxworks.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-wince-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
vax-inst.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
xtensa-istack.h 2008-11-04 Sterling Augustine <sterling@tensilica.com> 2008-11-04 23:11:02 +00:00
xtensa-relax.c 2009-01-07 Sterling Augustine <sterling@tensilica.com> 2009-01-07 17:41:09 +00:00
xtensa-relax.h 2009-01-07 Sterling Augustine <sterling@tensilica.com> 2009-01-07 17:41:09 +00:00