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
..
2011-02-01 13:14:40 +00:00
2010-05-07 12:28:50 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2007-10-04 13:43:16 +00:00
2011-03-14 15:55:04 +00:00
2009-09-02 07:25:43 +00:00
2009-10-24 00:17:08 +00:00
2009-09-02 07:25:43 +00:00
2011-03-14 15:55:04 +00:00
2004-01-02 11:16:21 +00:00
2004-01-02 11:16:21 +00:00
2006-01-16 23:15:07 +00:00
2006-01-16 23:15:07 +00:00
2008-01-03 05:27:55 +00:00
2009-01-06 01:03:27 +00:00
2011-01-01 16:43:53 +00:00
2010-06-29 04:17:34 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2010-08-06 03:59:49 +00:00
2010-10-09 06:50:23 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-10-08 14:00:50 +00:00
2009-09-02 07:25:43 +00:00
2010-12-31 16:43:46 +00:00
2007-07-05 09:49:03 +00:00
2007-07-05 09:49:03 +00:00
2011-01-17 18:40:36 +00:00
2011-01-18 14:14:46 +00:00
2007-07-05 09:49:03 +00:00
2011-01-17 18:40:36 +00:00
2011-01-17 18:40:36 +00:00
2009-09-02 07:25:43 +00:00
2011-01-18 14:14:46 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2008-08-28 14:07:50 +00:00
2008-08-28 14:07:50 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2010-02-13 04:38:57 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-10-11 22:18:42 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-06-28 14:41:59 +00:00
2010-10-09 06:50:23 +00:00
2010-07-06 00:02:46 +00:00
2011-02-28 16:34:39 +00:00
2009-09-02 07:25:43 +00:00
2010-02-03 12:47:06 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-01-02 18:50:59 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2010-10-08 14:00:50 +00:00
2010-10-08 14:00:50 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2010-07-03 08:27:23 +00:00
2010-07-29 18:41:28 +00:00
2010-07-29 18:41:28 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2010-10-25 15:33:54 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2010-07-23 14:52:54 +00:00
2010-07-23 14:52:54 +00:00
2009-09-02 07:25:43 +00:00
2007-07-05 09:49:03 +00:00
2009-09-02 07:25:43 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00