old-cross-binutils/ld/emultempl
Richard Sandiford 35fc36a8d6 include/elf/
* internal.h (elf_internal_sym): Add st_target_internal.
	* arm.h (arm_st_branch_type): New enum.
	(ARM_SYM_BRANCH_TYPE): New macro.

bfd/
	* elf-bfd.h (elf_link_hash_entry): Add target_internal.
	* elf.c (swap_out_syms): Set st_target_internal for each
	Elf_Internal_Sym.
	* elfcode.h (elf_swap_symbol_in): Likewise.
	* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
	* elf32-sh-symbian.c (sh_symbian_relocate_section): Likewise.
	* elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise.
	* elflink.c (elf_link_output_extsym): Likewise.
	(bfd_elf_final_link): Likewise.
	(elf_link_add_object_symbols): Copy st_target_internal
	to the hash table if we see a definition.
	(_bfd_elf_copy_link_hash_symbol_type): Copy target_internal.
	* elf32-arm.c (elf32_arm_stub_hash_entry): Replace st_type with
	a branch_type field.
	(a8_erratum_fix, a8_erratum_reloc): Likewise.
	(arm_type_of_stub): Replace actual_st_type with an
	actual_branch_type parameter.
	(arm_build_one_stub): Use branch types rather than st_types to
	determine the type of branch.
	(cortex_a8_erratum_scan): Likewise.
	(elf32_arm_size_stubs): Likewise.
	(bfd_elf32_arm_process_before_allocation): Likewise.
	(allocate_dynrelocs_for_symbol): Likewise.
	(elf32_arm_finish_dynamic_sections): Likewise.
	(elf32_arm_final_link_relocate): Replace sym_flags parameter with
	a branch_type parameter.
	(elf32_arm_relocate_section): Update call accordingly.
	(elf32_arm_adjust_dynamic_symbol): Don't check STT_ARM_TFUNC.
	(elf32_arm_output_map_sym): Initialize st_target_internal.
	(elf32_arm_output_stub_sym): Likewise.
	(elf32_arm_symbol_processing): Delete.
	(elf32_arm_swap_symbol_in): Convert STT_ARM_TFUNCs into STT_FUNCs.
	Use st_target_internal to record the branch type.
	(elf32_arm_swap_symbol_out): Use st_target_internal to test for
	Thumb functions.
	(elf32_arm_is_function_type): Delete.
	(elf_backend_symbol_processing): Likewise.
	(elf_backend_is_function_type): Likewise.

gas/
	* config/tc-arm.c (arm_adjust_symtab): Set the branch type
	for Thumb symbols.

ld/
	* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
	eh->target_internal.

opcodes/
	* arm-dis.c (get_sym_code_type): Don't check for STT_ARM_TFUNC.
	Use branch types instead.
	(print_insn): Likewise.
2011-03-14 15:55:04 +00:00
..
aix.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
alphaelf.em * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
armcoff.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
armelf.em include/elf/ 2011-03-14 15:55:04 +00:00
astring.sed
avrelf.em PR ld/10956 2009-11-26 13:45:25 +00:00
beos.em 2011-02-28 Kai Tietz <kai.tietz@onevision.com> 2011-02-28 18:34:52 +00:00
bfin.em blackfin: add support for L1 code/data flags 2010-11-16 03:33:07 +00:00
cr16elf.em PR ld/10956 2009-11-26 13:45:25 +00:00
crxelf.em PR ld/10956 2009-11-26 13:45:25 +00:00
elf-generic.em update copyright dates 2009-09-02 07:25:43 +00:00
elf32.em 2011-02-28 Kai Tietz <kai.tietz@onevision.com> 2011-02-28 18:34:52 +00:00
genelf.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
generic.em update copyright dates 2009-09-02 07:25:43 +00:00
gld960.em include/ 2008-02-15 03:35:53 +00:00
gld960c.em 2007-07-19 Roland McGrath <roland@redhat.com> 2007-07-19 19:56:10 +00:00
hppaelf.em * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
ia64elf.em PR ld/6766 2009-09-13 07:19:18 +00:00
irix.em update copyright dates 2009-09-02 07:25:43 +00:00
linux.em Replace is_archive with maybe_archive. 2010-12-06 00:07:06 +00:00
lnk960.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
m68hc1xelf.em update copyright dates 2009-09-02 07:25:43 +00:00
m68kcoff.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
m68kelf.em update copyright dates 2009-09-02 07:25:43 +00:00
mipsecoff.em update copyright dates 2009-09-02 07:25:43 +00:00
mipself.em * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
mmix-elfnmmo.em PR ld/10956 2009-11-26 13:45:25 +00:00
mmixelf.em update copyright dates 2009-09-02 07:25:43 +00:00
mmo.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
needrelax.em PR ld/10956 2009-11-26 13:45:25 +00:00
netbsd.em include/ 2009-10-14 05:54:29 +00:00
ostring.sed
pe.em [PATCH] Fix PE-COFF bug in orphan section alignment handling. 2011-03-10 10:20:26 +00:00
pep.em [PATCH] Fix PE-COFF bug in orphan section alignment handling. 2011-03-10 10:20:26 +00:00
ppc32elf.em * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. Add 2010-02-04 09:16:43 +00:00
ppc64elf.em * ldmain.c (main): Flush stdout before and stderr after printing 2011-01-14 12:37:17 +00:00
README
rxelf.em bfd 2009-09-29 14:17:19 +00:00
scoreelf.em Add support for Score7 architecture. 2009-03-02 10:33:08 +00:00
sh64elf.em PR ld/11384 2010-03-18 13:15:46 +00:00
solaris2.em * emultempl/solaris2.em (elf_solaris2_before_allocation): Renamed 2010-10-12 18:39:36 +00:00
spu_icache.o_c bfd/ 2009-03-17 12:46:19 +00:00
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_ovl.o_c Include the spu_ovl ASCII form in the repository files. 2008-08-02 16:25:44 +00:00
spu_ovl.S bfd/ 2008-06-16 16:16:31 +00:00
spuelf.em PR ld/12356 2011-01-13 13:06:22 +00:00
sunos.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +00:00
ticoff.em update copyright dates 2009-09-02 07:25:43 +00:00
vanilla.em update copyright dates 2009-09-02 07:25:43 +00:00
vms.em Replace is_archive with maybe_archive. 2010-12-06 00:07:06 +00:00
vxworks.em PR 11107 2010-01-08 01:41:11 +00:00
xtensaelf.em * ldmain.c (main): Flush stdout before and stderr after printing 2011-01-14 12:37:17 +00:00
z80.em * ld.texinfo (Expression Section): Describe treatment of numbers 2010-12-20 13:00:14 +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.