old-cross-binutils/ld/emultempl
Alan Modra 49fa1e1518 bfd/
* elf32-spu.c (struct spu_link_hash_table): Add stack_analysis
	and emit_stack_syms bitfields.
	(get_sym_h): Read all symbols if stack analysis will be done.
	(spu_elf_create_sections): Add stack_analysis and emit_stack_syms
	params, and stash in hash table.
	(is_hint): Split off from..
	(is_branch): ..here.  Adjust callers.
	(spu_elf_size_stubs): Add stack_analysis param.  Arrange to read
	and keep all syms.
	(write_one_stub): Fix mem leak.
	(find_function_stack_adjust): New function.
	(sort_syms_syms, sort_syms_psecs): New vars.
	(sort_syms): New function.
	(struct call_info, struct function_info): New.
	(struct spu_elf_stack_info): New.
	(alloc_stack_info, maybe_insert_function, func_name): New functions.
	(is_nop, insns_at_end, check_function_ranges): Likewise.
	(find_function, insert_callee, mark_functions_via_relocs): Likewise.
	(pasted_function, interesting_section, discover_functions): Likewise.
	(mark_non_root, call_graph_traverse, build_call_tree): Likewise.
	(sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise.
	(bfd_elf32_bfd_final_link): Define.
	* elf32-spu.h (struct _spu_elf_section_data): Add stack_info field.
	(spu_elf_create_sections, spu_elf_size_stubs): Update prototypes.
include/
	* bfdlink.h (struct bfd_link_info): Add "info" and "minfo".
ld/
	* ldmain.c (link_callbacks): Init info and minfo fields.
	* ldmisc.c (minfo): Do nothing if no map file.
	* emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
	(spu_after_open): Adjust spu_elf_create_sections call.
	(spu_before_allocation): Likewise for spu_elf_size_stubs.
	(OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
	(PARSE_AND_LIST_LONGOPTS): Add new entries.
	(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
	* gen-doc.texi: Add @set for SPU and other missing targets.
	* ld.texinfo: Update man page selection to match gen-doc.texi.
	Document SPU features.
2007-04-30 14:06:40 +00:00
..
aix.em bfd/ 2007-04-26 14:47:00 +00:00
alphaelf.em * emulparams/elf64alpha.sh (PLT): New. 2005-05-29 23:16:09 +00:00
armcoff.em bfd/ 2007-04-26 14:47:00 +00:00
armelf.em 2007-03-20 Paul Brook <paul@codesourcery.com> 2007-03-20 20:19:07 +00:00
astring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
avrelf.em Add support for AVR6 family 2006-05-24 07:36:12 +00:00
beos.em bfd/ 2007-04-26 14:47:00 +00:00
crxelf.em Update FSF addresses 2005-05-12 07:32:09 +00:00
elf-generic.em bfd/ 2007-01-11 12:23:53 +00:00
elf32.em bfd/ 2007-04-26 14:47:00 +00:00
genelf.em bfd/ 2006-06-20 02:22:16 +00:00
generic.em bfd/ 2007-04-26 14:47:00 +00:00
gld960.em bfd/ 2007-04-26 14:47:00 +00:00
gld960c.em bfd/ 2007-04-26 14:47:00 +00:00
hppaelf.em bfd/ 2006-06-20 02:22:16 +00:00
ia64elf.em bfd/ 2006-04-06 18:52:46 +00:00
irix.em ld/ 2006-07-29 08:48:15 +00:00
linux.em bfd/ 2007-04-26 14:47:00 +00:00
lnk960.em bfd/ 2007-04-26 14:47:00 +00:00
m68hc1xelf.em * ldlang.h (lang_input_section_type): Remove "ifile" field. 2005-11-17 00:10:05 +00:00
m68kcoff.em bfd/ 2007-04-26 14:47:00 +00:00
m68kelf.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mipsecoff.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mipself.em ld/ 2006-07-29 08:48:15 +00:00
mmix-elfnmmo.em Update FSF addresses 2005-05-12 07:32:09 +00:00
mmixelf.em * emultempl/mmixelf.em: Remove incorrect '#line' directive. 2007-03-11 11:48:27 +00:00
mmo.em * emultempl/mmo.em: Improve comments. Explain why there's 2006-06-21 02:53:43 +00:00
needrelax.em Update FSF addresses 2005-05-12 07:32:09 +00:00
netbsd.em * ldlang.c (lang_do_assignments): Function return is void. 2003-12-04 12:09:25 +00:00
ostring.sed * emultempl/ostring.sed: Rename from stringify.sed. 1999-08-06 22:46:03 +00:00
pe.em bfd/ 2007-04-26 14:47:00 +00:00
pep.em bfd/ 2007-04-26 14:47:00 +00:00
ppc32elf.em * Makefile.am: Add dependency on ldemul-list.h for powerpc and 2007-03-26 11:10:44 +00:00
ppc64elf.em * Makefile.am: Add dependency on ldemul-list.h for powerpc and 2007-03-26 11:10:44 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
scoreelf.em Add support for Score target. 2006-09-16 23:51:50 +00:00
sh64elf.em * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): 2005-08-17 05:13:13 +00:00
spu_ovl.o * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size. 2007-02-13 07:47:22 +00:00
spu_ovl.S * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename 2007-02-26 08:58:16 +00:00
spuelf.em bfd/ 2007-04-30 14:06:40 +00:00
sunos.em bfd/ 2007-04-26 14:47:00 +00:00
ticoff.em bfd/ 2007-04-26 14:47:00 +00:00
vanilla.em bfd/ 2007-04-26 14:47:00 +00:00
vxworks.em ld/ 2007-03-28 14:42:28 +00:00
xtensaelf.em bfd/ 2006-11-27 20:14:53 +00:00
z80.em Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.