#include "elf/common.h"#include "elf/internal.h"#include "elf/external.h"#include "bfdlink.h"

Go to the source code of this file.
| #define _bfd_elf_minisymbol_to_symbol _bfd_generic_minisymbol_to_symbol |
| #define _bfd_elf_read_minisymbols _bfd_generic_read_minisymbols |
Definition at line 1351 of file elf-bfd.h.
Referenced by _bfd_elf_gc_mark(), _bfd_mips_elf_check_relocs(), _bfd_mips_relax_section(), bfd_elf_discard_info(), bfd_elf_final_link(), bfd_elf_gc_common_finalize_got_offsets(), bfd_elf_gc_record_vtinherit(), cris_elf_check_relocs(), elf32_avr_check_relocs(), elf32_d10v_check_relocs(), elf32_dlx_check_relocs(), elf32_frv_check_relocs(), elf32_m68hc11_check_relocs(), elf32_msp430_check_relocs(), elf_bfd_discard_info(), elf_bfd_final_link(), elf_gc_common_finalize_got_offsets(), elf_gc_mark(), elf_gc_record_vtinherit(), elf_link_add_object_symbols(), elf_link_check_versioned_symbol(), elf_link_input_bfd(), elf_link_is_defined_archive_symbol(), fr30_elf_check_relocs(), ip2k_elf_gc_mark_hook(), iq2000_elf_check_relocs(), m32r_elf_check_relocs(), mcore_elf_check_relocs(), mips_elf32_object_p(), mips_elf64_object_p(), mips_elf_calculate_relocation(), mips_elf_local_relocation_p(), mips_elf_n32_object_p(), mmix_elf_check_relocs(), mn10300_elf_check_relocs(), openrisc_elf_check_relocs(), sh_elf64_check_relocs(), and sh_elf_check_relocs().
| #define ELF_COMMON_DEF_P | ( | H | ) |
Value:
(!(H)->def_regular \ && !(H)->def_dynamic \ && (H)->root.type == bfd_link_hash_defined)
Definition at line 240 of file elf-bfd.h.
Referenced by _bfd_elf_symbol_refs_local_p().
| #define elf_discarded_section | ( | sec | ) |
Value:
(!bfd_is_abs_section (sec) \ && bfd_is_abs_section ((sec)->output_section) \ && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE \ && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS)
Definition at line 1138 of file elf-bfd.h.
Referenced by adjust_opd_syms(), bfd_elf_reloc_symbol_deleted_p(), elf64_alpha_relocate_section(), elf_link_input_bfd(), elf_link_output_extsym(), elf_reloc_symbol_deleted_p(), elf_xtensa_size_dynamic_sections(), and ppc64_elf_edit_toc().
Definition at line 1349 of file elf-bfd.h.
Referenced by bfd_elf_get_dt_soname(), bfd_elf_set_dt_needed_name(), bfd_elf_size_dynamic_sections(), and elf_link_add_object_symbols().
Definition at line 1350 of file elf-bfd.h.
Referenced by bfd_elf_get_dyn_lib_class(), bfd_elf_set_dyn_lib_class(), elf_link_add_object_symbols(), and elf_link_check_versioned_symbol().
Definition at line 1333 of file elf-bfd.h.
Referenced by _bfd_elf_canonicalize_dynamic_reloc(), _bfd_elf_copy_private_symbol_data(), _bfd_elf_get_dynamic_reloc_upper_bound(), _bfd_elf_get_dynamic_symtab_upper_bound(), _bfd_elf_get_synthetic_symtab(), bfd_section_from_shdr(), elf_link_add_object_symbols(), elf_link_is_defined_archive_symbol(), mips_elf64_canonicalize_dynamic_reloc(), sparc64_elf_canonicalize_dynamic_reloc(), and swap_out_syms().
Definition at line 1335 of file elf-bfd.h.
Referenced by _bfd_elf_print_private_bfd_data(), _bfd_elf_slurp_version_tables(), and bfd_section_from_shdr().
Definition at line 1336 of file elf-bfd.h.
Referenced by _bfd_elf_print_private_bfd_data(), _bfd_elf_slurp_version_tables(), and bfd_section_from_shdr().
Definition at line 1334 of file elf-bfd.h.
Referenced by bfd_section_from_shdr(), elf_link_add_object_symbols(), elf_link_check_versioned_symbol(), and elf_slurp_symbol_table().
Definition at line 1327 of file elf-bfd.h.
Referenced by _bfd_elf_copy_private_bfd_data(), _bfd_elf_eh_frame_address_size(), _bfd_elf_fprintf_vma(), _bfd_elf_make_section_from_shdr(), _bfd_elf_print_private_bfd_data(), _bfd_elf_setup_group_pointers(), _bfd_elf_sprintf_vma(), _bfd_elf_write_object_contents(), _bfd_m68hc11_elf_merge_private_bfd_data(), _bfd_m68hc11_elf_print_private_bfd_data(), _bfd_m68hc11_elf_set_private_flags(), _bfd_mips_elf_eh_frame_address_size(), _bfd_mips_elf_final_write_processing(), _bfd_mips_elf_merge_private_bfd_data(), _bfd_mips_elf_print_private_bfd_data(), _bfd_mips_elf_set_private_flags(), _bfd_mn10300_elf_final_write_processing(), _bfd_mn10300_elf_object_p(), arc_elf_final_write_processing(), arc_elf_object_p(), assign_file_positions_except_relocs(), assign_file_positions_for_segments(), assign_section_numbers(), bfd_alt_mach_code(), bfd_elf32_bfd_reloc_type_lookup(), bfd_elf_avr_final_write_processing(), bfd_elf_final_link(), bfd_elf_find_section(), bfd_elf_msp430_final_write_processing(), bfd_elf_string_from_elf_section(), bfd_elf_sym_name(), bfd_get_elf_phdr_upper_bound(), bfd_get_elf_phdrs(), bfd_section_from_shdr(), copy_private_bfd_data(), cris_elf_check_relocs(), cris_elf_final_write_processing(), cris_elf_object_p(), cris_elf_print_private_bfd_data(), cris_elf_relocate_section(), elf32_avr_object_p(), elf32_frv_machine(), elf32_frv_object_p(), elf32_frv_relocate_section(), elf32_frvfdpic_copy_private_bfd_data(), elf32_generic_link_add_symbols(), elf32_h8_final_write_processing(), elf32_h8_object_p(), elf32_hppa_check_relocs(), elf32_hppa_object_p(), elf32_hppa_post_process_headers(), elf32_iq2000_machine(), elf32_m68hc11_post_process_headers(), elf32_m68k_merge_private_bfd_data(), elf32_m68k_print_private_bfd_data(), elf32_m68k_set_private_flags(), elf32_msp430_object_p(), elf32_msp430_post_process_headers(), elf32_sparc_check_relocs(), elf32_sparc_final_write_processing(), elf32_sparc_merge_private_bfd_data(), elf32_sparc_object_p(), elf32_sparc_relocate_section(), elf32_vax_merge_private_bfd_data(), elf32_vax_print_private_bfd_data(), elf32_vax_set_private_flags(), elf64_alpha_check_relocs(), elf64_alpha_fbsd_post_process_headers(), elf64_alpha_relocate_section(), elf64_generic_link_add_symbols(), elf64_hppa_object_p(), elf64_hppa_post_process_headers(), elf64_x86_64_check_relocs(), elf_bfd_final_link(), elf_core_file_p(), elf_fixup_link_order(), elf_hppa_final_write_processing(), elf_i386_check_relocs(), elf_i386_post_process_headers(), elf_m68k_check_relocs(), elf_mips_abi_name(), elf_object_p(), elf_s390_check_relocs(), elf_vax_check_relocs(), elf_vax_relocate_section(), elf_write_shdrs_and_ehdr(), elf_xtensa_final_write_processing(), elf_xtensa_merge_private_bfd_data(), elf_xtensa_object_p(), elf_xtensa_print_private_bfd_data(), elf_xtensa_set_private_flags(), elfNN_hpux_post_process_headers(), elfNN_ia64_final_write_processing(), elfNN_ia64_merge_private_bfd_data(), elfNN_ia64_print_private_bfd_data(), elfNN_ia64_set_private_flags(), frv_elf_copy_private_bfd_data(), frv_elf_merge_private_bfd_data(), frv_elf_print_private_bfd_data(), frv_elf_set_private_flags(), frv_reloc_type_lookup(), get_command_line(), get_reloc_section(), i370_elf_check_relocs(), i370_elf_merge_private_bfd_data(), i370_elf_post_process_headers(), i370_elf_relocate_section(), i370_elf_set_private_flags(), ipa_is_whirl(), ipa_process_whirl(), ipa_process_whirl_in_archive(), iq2000_elf_copy_private_bfd_data(), iq2000_elf_merge_private_bfd_data(), iq2000_elf_print_private_bfd_data(), iq2000_elf_set_private_flags(), ld_get_section_name(), load_symbols(), m32r_elf_check_relocs(), m32r_elf_final_write_processing(), m32r_elf_merge_private_bfd_data(), m32r_elf_object_p(), m32r_elf_print_private_bfd_data(), m32r_elf_relocate_section(), m32r_elf_set_private_flags(), m68hc12_elf_set_mach_from_flags(), mcore_elf_merge_private_bfd_data(), mcore_elf_set_private_flags(), mips_elf32_object_p(), mips_elf64_object_p(), mips_elf_n32_object_p(), mips_set_isa_flags(), mn10300_elf_check_relocs(), mn10300_elf_final_link_relocate(), openrisc_elf_final_write_processing(), openrisc_elf_object_p(), or32_elf_final_write_processing(), pj_elf_final_write_processing(), ppc64_elf_check_relocs(), ppc64_elf_init_stub_bfd(), ppc64_elf_object_p(), ppc_elf_check_relocs(), ppc_elf_merge_private_bfd_data(), ppc_elf_object_p(), ppc_elf_relocate_section(), ppc_elf_set_private_flags(), prep_headers(), print_insn_shmedia(), set_default_mips_dis_options(), sh64_elf64_final_write_processing(), sh64_elf_copy_private_data(), sh64_elf_final_write_processing(), sh64_elf_merge_private_data(), sh64_elf_set_mach_from_flags(), sh64_elf_set_private_flags(), sh64_get_contents_type(), sh_elf64_check_relocs(), sh_elf64_copy_private_data_internal(), sh_elf64_merge_private_data(), sh_elf64_relocate_section(), sh_elf64_set_mach_from_flags(), sh_elf64_set_private_flags(), sh_elf_check_relocs(), sh_elf_copy_private_data(), sh_elf_merge_private_data(), sh_elf_relax_section(), sh_elf_relocate_section(), sh_elf_set_mach_from_flags(), sh_elf_set_private_flags(), sparc64_elf_check_relocs(), sparc64_elf_merge_private_bfd_data(), sparc64_elf_object_p(), sparc64_elf_relocate_section(), v850_elf_final_write_processing(), v850_elf_merge_private_bfd_data(), v850_elf_object_p(), v850_elf_print_private_bfd_data(), and v850_elf_set_private_flags().
Definition at line 1328 of file elf-bfd.h.
Referenced by _bfd_elf_assign_file_positions_for_relocs(), _bfd_elf_print_private_bfd_data(), _bfd_elf_section_from_bfd_section(), _bfd_elf_write_object_contents(), _bfd_mips_elf_final_write_processing(), assign_file_positions_except_relocs(), assign_file_positions_for_segments(), assign_section_numbers(), bfd_elf_final_link(), bfd_elf_find_section(), bfd_elf_get_bfd_needed_list(), bfd_elf_get_str_section(), bfd_elf_string_from_elf_section(), bfd_elf_sym_name(), bfd_section_from_elf_index(), bfd_section_from_shdr(), elf32_hppa_size_stubs(), elf32_m68hc11_size_stubs(), elf_bfd_final_link(), elf_fixup_link_order(), elf_get_linked_section_vma(), elf_link_add_object_symbols(), elf_object_p(), elf_write_shdrs_and_ehdr(), get_command_line(), group_signature(), ld_get_section_base(), ld_get_section_name(), ld_get_section_size(), ld_release_section_data(), ld_set_section_data(), prep_headers(), setup_group(), sh_elf64_copy_private_data_internal(), v850_elf_add_symbol_hook(), and v850_elf_symbol_processing().
Definition at line 1352 of file elf-bfd.h.
Referenced by _bfd_elf_copy_private_bfd_data(), _bfd_m68hc11_elf_merge_private_bfd_data(), _bfd_m68hc11_elf_set_private_flags(), _bfd_mips_elf_merge_private_bfd_data(), _bfd_mips_elf_set_private_flags(), cris_elf_merge_private_bfd_data(), elf32_m68k_merge_private_bfd_data(), elf32_m68k_set_private_flags(), elf32_vax_merge_private_bfd_data(), elf32_vax_set_private_flags(), elf_xtensa_merge_private_bfd_data(), elf_xtensa_set_private_flags(), elfNN_ia64_final_write_processing(), elfNN_ia64_merge_private_bfd_data(), elfNN_ia64_set_private_flags(), frv_elf_copy_private_bfd_data(), frv_elf_merge_private_bfd_data(), frv_elf_set_private_flags(), i370_elf_merge_private_bfd_data(), i370_elf_set_private_flags(), iq2000_elf_copy_private_bfd_data(), iq2000_elf_merge_private_bfd_data(), iq2000_elf_set_private_flags(), m32r_elf_merge_private_bfd_data(), m32r_elf_set_private_flags(), mcore_elf_merge_private_bfd_data(), mcore_elf_set_private_flags(), ppc_elf_merge_private_bfd_data(), ppc_elf_set_private_flags(), sh64_elf_copy_private_data(), sh64_elf_merge_private_data(), sh64_elf_set_private_flags(), sh_elf64_merge_private_data(), sh_elf64_set_private_flags(), sh_elf_merge_private_data(), sh_elf_set_private_flags(), sparc64_elf_merge_private_bfd_data(), v850_elf_merge_private_bfd_data(), and v850_elf_set_private_flags().
Definition at line 1343 of file elf-bfd.h.
Referenced by _bfd_elf_copy_private_bfd_data(), _bfd_get_gp_value(), _bfd_mips_elf_final_link(), _bfd_mips_elf_finish_dynamic_symbol(), _bfd_mips_elf_section_from_shdr(), _bfd_mips_elf_section_processing(), _bfd_set_gp_value(), elf32_hppa_finish_dynamic_sections(), elf32_hppa_relocate_section(), elf32_hppa_set_gp(), final_link_relocate(), hppa_build_one_stub(), m32r_elf_final_sda_base(), mips_elf_output_extsym(), mips_info_to_howto_rel(), ppc64_elf_finish_dynamic_sections(), ppc64_elf_next_input_section(), ppc64_elf_next_toc_section(), ppc64_elf_reinit_toc(), ppc64_elf_relocate_section(), ppc64_elf_setup_section_lists(), ppc_build_one_stub(), and ppc_size_one_stub().
Definition at line 1344 of file elf-bfd.h.
Referenced by _bfd_mips_elf_add_symbol_hook(), _bfd_mips_elf_final_link(), _bfd_mips_elf_symbol_processing(), bfd_get_gp_size(), bfd_set_gp_size(), elf64_alpha_add_symbol_hook(), elfNN_ia64_add_symbol_hook(), i370_elf_adjust_dynamic_symbol(), ppc_elf_add_symbol_hook(), ppc_elf_adjust_dynamic_symbol(), and ppc_elf_finish_dynamic_symbol().
| #define elf_group_name | ( | sec | ) | (elf_section_data(sec)->group.name) |
Definition at line 1132 of file elf-bfd.h.
Referenced by _bfd_default_error_handler(), _bfd_elf_copy_private_section_data(), bfd_elf_match_symbols_in_sections(), elf_fake_sections(), setup_group(), and vfinfo().
| #define elf_hash_table | ( | p | ) | ((struct elf_link_hash_table *) ((p)->hash)) |
Definition at line 433 of file elf-bfd.h.
Referenced by _bfd_elf_add_default_symbol(), _bfd_elf_add_dynamic_entry(), _bfd_elf_adjust_dynamic_symbol(), _bfd_elf_archive_symbol_lookup(), _bfd_elf_create_got_section(), _bfd_elf_discard_section_eh_frame(), _bfd_elf_discard_section_eh_frame_hdr(), _bfd_elf_eh_frame_section_offset(), _bfd_elf_fix_symbol_flags(), _bfd_elf_link_create_dynamic_sections(), _bfd_elf_link_create_dynstrtab(), _bfd_elf_link_hash_hide_symbol(), _bfd_elf_link_lookup_local_dynindx(), _bfd_elf_link_omit_section_dynsym(), _bfd_elf_link_renumber_dynsyms(), _bfd_elf_maybe_strip_eh_frame_hdr(), _bfd_elf_merge_sections(), _bfd_elf_merge_symbol(), _bfd_elf_tls_setup(), _bfd_elf_write_section_eh_frame(), _bfd_elf_write_section_eh_frame_hdr(), _bfd_mips_elf_adjust_dynamic_symbol(), _bfd_mips_elf_always_size_sections(), _bfd_mips_elf_check_relocs(), _bfd_mips_elf_create_dynamic_sections(), _bfd_mips_elf_final_link(), _bfd_mips_elf_finish_dynamic_sections(), _bfd_mips_elf_finish_dynamic_symbol(), _bfd_mips_elf_hide_symbol(), _bfd_mips_elf_size_dynamic_sections(), _bfd_mn10300_elf_adjust_dynamic_symbol(), _bfd_mn10300_elf_create_got_section(), _bfd_mn10300_elf_finish_dynamic_sections(), _bfd_mn10300_elf_finish_dynamic_symbol(), _bfd_mn10300_elf_size_dynamic_sections(), _frv_create_got_section(), _frvfdpic_assign_plt_entries(), _frvfdpic_count_nontls_entries(), _frvfdpic_emit_got_relocs_plt_entries(), _frvfdpic_relax_tls_entries(), _frvfdpic_size_got_plt(), allocate_global_data_opd(), bfd_elf_final_link(), bfd_elf_gc_common_finalize_got_offsets(), bfd_elf_gc_sections(), bfd_elf_get_needed_list(), bfd_elf_get_runpath_list(), bfd_elf_link_record_dynamic_symbol(), bfd_elf_link_record_local_dynamic_symbol(), bfd_elf_record_link_assignment(), bfd_elf_size_dynamic_sections(), compute_bucket_count(), cris_elf_check_relocs(), cris_elf_gc_sweep_hook(), cris_elf_relocate_section(), dtpoff_base(), dtprel_base(), elf32_frv_check_relocs(), elf32_frv_relocate_section(), elf32_frvfdpic_adjust_dynamic_symbol(), elf32_frvfdpic_always_size_sections(), elf32_frvfdpic_finish_dynamic_sections(), elf32_frvfdpic_modify_segment_map(), elf32_frvfdpic_relax_section(), elf32_frvfdpic_size_dynamic_sections(), elf32_hppa_create_dynamic_sections(), elf32_hppa_hide_symbol(), elf32_mn10300_finish_hash_table_entry(), elf32_sparc_finish_dynamic_sections(), elf32_sparc_relocate_section(), elf32_sparc_size_dynamic_sections(), elf64_alpha_adjust_dynamic_symbol(), elf64_alpha_check_relocs(), elf64_alpha_create_dynamic_sections(), elf64_alpha_final_link(), elf64_alpha_finish_dynamic_sections(), elf64_alpha_finish_dynamic_symbol(), elf64_alpha_relax_got_load(), elf64_alpha_relax_tls_get_addr(), elf64_alpha_relocate_section(), elf64_alpha_size_dynamic_sections(), elf64_alpha_size_plt_section(), elf64_alpha_size_rela_got_1(), elf64_alpha_size_rela_got_section(), elf64_hppa_check_relocs(), elf64_hppa_finalize_opd(), elf64_hppa_finish_dynamic_sections(), elf64_hppa_mark_milli_and_exported_functions(), elf64_hppa_size_dynamic_sections(), elf_add_dt_needed_tag(), elf_add_dynamic_entry(), elf_bfd_final_link(), elf_cris_adjust_dynamic_symbol(), elf_cris_adjust_gotplt_to_got(), elf_cris_discard_excess_program_dynamics(), elf_cris_finish_dynamic_sections(), elf_cris_finish_dynamic_symbol(), elf_cris_size_dynamic_sections(), elf_finalize_dynstr(), elf_finish_pointer_linker_section(), elf_gc_common_finalize_got_offsets(), elf_gc_sections(), elf_gc_sweep(), elf_link_add_object_symbols(), elf_link_check_versioned_symbol(), elf_link_input_bfd(), elf_link_output_extsym(), elf_m68k_adjust_dynamic_symbol(), elf_m68k_check_relocs(), elf_m68k_finish_dynamic_sections(), elf_m68k_finish_dynamic_symbol(), elf_m68k_gc_sweep_hook(), elf_m68k_relocate_section(), elf_m68k_size_dynamic_sections(), elf_vax_adjust_dynamic_symbol(), elf_vax_check_relocs(), elf_vax_finish_dynamic_sections(), elf_vax_finish_dynamic_symbol(), elf_vax_gc_sweep_hook(), elf_vax_instantiate_got_entries(), elf_vax_relocate_section(), elf_vax_size_dynamic_sections(), elf_xtensa_check_relocs(), elf_xtensa_discard_info_for_section(), elf_xtensa_finish_dynamic_sections(), elf_xtensa_relocate_section(), elf_xtensa_size_dynamic_sections(), elfNN_ia64_choose_gp(), elfNN_ia64_dtprel_base(), elfNN_ia64_final_link(), elfNN_ia64_finish_dynamic_sections(), elfNN_ia64_size_dynamic_sections(), elfNN_ia64_tprel_base(), frvfdpic_elf_encode_eh_address(), i370_elf_adjust_dynamic_symbol(), i370_elf_check_relocs(), i370_elf_finish_dynamic_sections(), i370_elf_relocate_section(), i370_elf_size_dynamic_sections(), identify_literal_placement(), ld_slookup_mext(), m32r_elf_adjust_dynamic_symbol(), mips_elf_calculate_relocation(), mips_elf_create_dynamic_relocation(), mips_elf_got16_entry(), mips_elf_got_page(), mips_elf_initialize_tls_slots(), mips_elf_local_got_index(), mips_elf_set_global_got_offset(), mips_elf_sort_hash_table(), mips_tls_got_relocs(), mn10300_elf_check_relocs(), mn10300_elf_final_link_relocate(), mn10300_elf_relax_section(), mn10300_elf_relocate_section(), ppc64_elf_edit_opd(), ppc64_elf_edit_toc(), ppc_elf_size_dynamic_sections(), relax_property_section(), relax_section(), remove_dead_literal(), sh64_elf64_adjust_dynamic_symbol(), sh64_elf64_finish_dynamic_sections(), sh64_elf64_finish_dynamic_symbol(), sh64_elf64_size_dynamic_sections(), sh_elf64_check_relocs(), sh_elf64_relocate_section(), shrink_dynamic_reloc_sections(), sparc64_elf_adjust_dynamic_symbol(), sparc64_elf_check_relocs(), sparc64_elf_finish_dynamic_sections(), sparc64_elf_finish_dynamic_symbol(), sparc64_elf_output_arch_syms(), sparc64_elf_relocate_section(), sparc64_elf_size_dynamic_sections(), tls_biased_base(), tpoff(), tprel_base(), v850_elf_check_relocs(), xstormy16_elf_always_size_sections(), xstormy16_elf_check_relocs(), xstormy16_elf_finish_dynamic_sections(), xstormy16_elf_relax_section(), and xstormy16_elf_relocate_section().
Value:
((struct elf_link_hash_entry *) \ bfd_link_hash_lookup (&(table)->root, (string), (create), \ (copy), (follow)))
Definition at line 418 of file elf-bfd.h.
Referenced by _bfd_elf_add_default_symbol(), _bfd_elf_archive_symbol_lookup(), _bfd_elf_link_create_dynamic_sections(), _bfd_elf_merge_symbol(), allocate_global_data_opd(), bfd_elf_final_link(), bfd_elf_record_link_assignment(), bfd_elf_size_dynamic_sections(), elf32_frvfdpic_always_size_sections(), elf32_frvfdpic_modify_segment_map(), elf64_hppa_finalize_opd(), elf_bfd_final_link(), elf_link_add_object_symbols(), elfNN_ia64_choose_gp(), elfNN_ia64_final_link(), get_fdh(), ld_slookup_mext(), mn10300_elf_relax_section(), ppc64_elf_build_stubs(), ppc64_elf_gc_mark_hook(), ppc64_elf_hide_symbol(), ppc_build_one_stub(), ppc_elf_tls_setup(), sfpr_define(), sh64_elf64_finish_dynamic_sections(), and sh_elf_finish_dynamic_sections().
Value:
(bfd_link_hash_traverse \ (&(table)->root, \ (bfd_boolean (*) (struct bfd_link_hash_entry *, void *)) (func), \ (info)))
Definition at line 425 of file elf-bfd.h.
Referenced by _bfd_elf_link_renumber_dynsyms(), _bfd_mips_elf_always_size_sections(), _bfd_mips_elf_size_dynamic_sections(), bfd_elf_final_link(), bfd_elf_gc_common_finalize_got_offsets(), bfd_elf_gc_sections(), bfd_elf_size_dynamic_sections(), compute_bucket_count(), elf32_hppa_size_dynamic_sections(), elf32_sparc_size_dynamic_sections(), elf64_alpha_final_link(), elf64_hppa_size_dynamic_sections(), elf64_x86_64_size_dynamic_sections(), elf_bfd_final_link(), elf_finalize_dynstr(), elf_gc_common_finalize_got_offsets(), elf_gc_sections(), elf_gc_sweep(), elf_i386_size_dynamic_sections(), elf_link_add_object_symbols(), elf_m68k_size_dynamic_sections(), elf_s390_size_dynamic_sections(), elf_vax_size_dynamic_sections(), elf_xtensa_size_dynamic_sections(), elfNN_ia64_dyn_sym_traverse(), i370_elf_size_dynamic_sections(), m32r_elf_size_dynamic_sections(), ppc64_elf_check_directives(), ppc64_elf_edit_opd(), ppc64_elf_edit_toc(), ppc64_elf_func_desc_adjust(), ppc64_elf_restore_symbols(), ppc64_elf_size_dynamic_sections(), ppc_elf_size_dynamic_sections(), sh_elf_size_dynamic_sections(), and xstormy16_elf_relax_section().
Definition at line 1348 of file elf-bfd.h.
Referenced by get_sym_h(), ppc64_elf_gc_sweep_hook(), ppc64_elf_relocate_section(), ppc64_elf_size_dynamic_sections(), ppc64_elf_tls_optimize(), and update_local_sym_info().
Definition at line 1347 of file elf-bfd.h.
Referenced by cris_elf_relocate_section(), elf32_hppa_relocate_section(), elf32_sparc_check_relocs(), elf32_sparc_relocate_section(), elf64_x86_64_relocate_section(), elf_i386_relocate_section(), elf_m68k_relocate_section(), elf_s390_relocate_section(), elf_vax_relocate_section(), i370_elf_check_relocs(), i370_elf_relocate_section(), m32r_elf_check_relocs(), m32r_elf_relocate_section(), mn10300_elf_check_relocs(), mn10300_elf_final_link_relocate(), mn10300_elf_relax_section(), ppc_elf_relocate_section(), sh_elf64_check_relocs(), sh_elf64_relocate_section(), sh_elf_check_relocs(), sh_elf_relocate_section(), sparc64_elf_check_relocs(), sparc64_elf_relocate_section(), xstormy16_elf_check_relocs(), xstormy16_elf_relax_section(), and xstormy16_elf_relocate_section().
Definition at line 1346 of file elf-bfd.h.
Referenced by _bfd_mips_elf_gc_sweep_hook(), bfd_elf_gc_common_finalize_got_offsets(), cris_elf_check_relocs(), cris_elf_gc_sweep_hook(), elf32_hppa_check_relocs(), elf32_hppa_gc_sweep_hook(), elf32_hppa_size_dynamic_sections(), elf32_sparc_check_relocs(), elf32_sparc_gc_sweep_hook(), elf32_sparc_size_dynamic_sections(), elf64_x86_64_check_relocs(), elf64_x86_64_gc_sweep_hook(), elf64_x86_64_size_dynamic_sections(), elf_gc_common_finalize_got_offsets(), elf_i386_check_relocs(), elf_i386_gc_sweep_hook(), elf_i386_size_dynamic_sections(), elf_m68k_check_relocs(), elf_m68k_gc_sweep_hook(), elf_s390_check_relocs(), elf_s390_gc_sweep_hook(), elf_s390_size_dynamic_sections(), elf_xtensa_allocate_local_got_size(), elf_xtensa_check_relocs(), elf_xtensa_gc_sweep_hook(), m32r_elf_check_relocs(), m32r_elf_gc_sweep_hook(), m32r_elf_size_dynamic_sections(), ppc_elf_gc_sweep_hook(), ppc_elf_size_dynamic_sections(), ppc_elf_tls_optimize(), sh_elf_check_relocs(), sh_elf_gc_sweep_hook(), sh_elf_size_dynamic_sections(), and update_local_sym_info().
Definition at line 1134 of file elf-bfd.h.
Referenced by _bfd_default_error_handler(), _bfd_elf_copy_private_section_data(), _bfd_elf_make_section_from_shdr(), _bfd_elf_section_already_linked(), bfd_elf_is_group_section(), bfd_elf_set_group_contents(), bfd_section_from_shdr(), elf_fake_sections(), match_group_member(), setup_group(), and vfinfo().
Definition at line 1340 of file elf-bfd.h.
Referenced by _bfd_elf_symbol_from_bfd_symbol(), and elf_map_symbols().
Definition at line 1329 of file elf-bfd.h.
Referenced by _bfd_elf_assign_file_positions_for_relocs(), _bfd_elf_section_from_bfd_section(), _bfd_elf_write_object_contents(), _bfd_mips_elf_final_write_processing(), assign_file_positions_except_relocs(), assign_section_numbers(), bfd_elf_final_link(), bfd_elf_find_section(), bfd_elf_sym_name(), bfd_section_from_elf_index(), bfd_section_from_shdr(), elf_bfd_final_link(), elf_object_p(), setup_group(), v850_elf_add_symbol_hook(), and v850_elf_symbol_processing().
Definition at line 1331 of file elf-bfd.h.
Referenced by _bfd_elf_copy_private_symbol_data(), bfd_section_from_shdr(), and swap_out_syms().
Definition at line 1135 of file elf-bfd.h.
Referenced by _bfd_elf_section_already_linked(), _bfd_elf_setup_group_pointers(), and elf_link_input_bfd().
| #define elf_section_data | ( | sec | ) | ((struct bfd_elf_section_data*)sec->used_by_bfd) |
Definition at line 1128 of file elf-bfd.h.
Referenced by _bfd_elf_canonicalize_dynamic_reloc(), _bfd_elf_copy_private_section_data(), _bfd_elf_discard_section_eh_frame(), _bfd_elf_eh_frame_section_offset(), _bfd_elf_gc_mark(), _bfd_elf_get_dynamic_reloc_upper_bound(), _bfd_elf_get_synthetic_symtab(), _bfd_elf_link_create_dynamic_sections(), _bfd_elf_link_omit_section_dynsym(), _bfd_elf_link_output_relocs(), _bfd_elf_link_read_relocs(), _bfd_elf_link_renumber_dynsyms(), _bfd_elf_link_sec_merge_syms(), _bfd_elf_link_size_reloc_section(), _bfd_elf_make_section_from_shdr(), _bfd_elf_merge_sections(), _bfd_elf_rel_local_sym(), _bfd_elf_rela_local_sym(), _bfd_elf_section_from_bfd_section(), _bfd_elf_section_offset(), _bfd_elf_set_section_contents(), _bfd_elf_write_section_eh_frame(), _bfd_mips_elf_check_relocs(), _bfd_mips_elf_eh_frame_address_size(), _bfd_mips_elf_final_link(), _bfd_mips_elf_final_write_processing(), _bfd_mips_elf_find_nearest_line(), _bfd_mips_elf_finish_dynamic_sections(), _bfd_mips_elf_modify_segment_map(), _bfd_mips_elf_relocate_section(), _bfd_mips_elf_set_section_contents(), _bfd_mips_relax_section(), _bfd_mn10300_elf_finish_dynamic_sections(), _frvfdpic_emit_got_relocs_plt_entries(), _frvfdpic_link_omit_section_dynsym(), adjust_all_relocations(), allocate_dynrelocs(), assign_section_numbers(), bfd_elf_discard_info(), bfd_elf_final_link(), bfd_elf_set_group_contents(), bfd_elf_size_dynamic_sections(), bfd_m68k_elf32_create_embedded_relocs(), bfd_section_from_shdr(), cris_elf_check_relocs(), cris_elf_relocate_section(), dec_dynrel_count(), elf32_frv_relocate_section(), elf32_h8_get_relocated_section_contents(), elf32_h8_relax_delete_bytes(), elf32_h8_relax_section(), elf32_hppa_check_relocs(), elf32_hppa_finish_dynamic_sections(), elf32_hppa_gc_sweep_hook(), elf32_hppa_relocate_section(), elf32_hppa_size_dynamic_sections(), elf32_hppa_size_stubs(), elf32_m68hc11_size_stubs(), elf32_sparc_check_relocs(), elf32_sparc_finish_dynamic_sections(), elf32_sparc_gc_sweep_hook(), elf32_sparc_relocate_section(), elf32_sparc_size_dynamic_sections(), elf64_alpha_check_relocs(), elf64_alpha_find_nearest_line(), elf64_alpha_finish_dynamic_sections(), elf64_alpha_relax_section(), elf64_alpha_relocate_section(), elf64_x86_64_check_relocs(), elf64_x86_64_finish_dynamic_sections(), elf64_x86_64_gc_sweep_hook(), elf64_x86_64_relocate_section(), elf64_x86_64_size_dynamic_sections(), elf_bfd_discard_info(), elf_bfd_final_link(), elf_cris_finish_dynamic_sections(), elf_fake_sections(), elf_finish_pointer_linker_section(), elf_gc_mark(), elf_gc_sweep(), elf_i386_check_relocs(), elf_i386_finish_dynamic_sections(), elf_i386_gc_sweep_hook(), elf_i386_relocate_section(), elf_i386_size_dynamic_sections(), elf_link_add_object_symbols(), elf_link_input_bfd(), elf_link_output_extsym(), elf_m68k_check_relocs(), elf_m68k_finish_dynamic_sections(), elf_m68k_relocate_section(), elf_object_p(), elf_reloc_link_order(), elf_s390_check_relocs(), elf_s390_finish_dynamic_sections(), elf_s390_gc_sweep_hook(), elf_s390_relocate_section(), elf_s390_size_dynamic_sections(), elf_slurp_reloc_table(), elf_vax_check_relocs(), elf_vax_finish_dynamic_sections(), elf_vax_relocate_section(), elf_write_relocs(), elfNN_ia64_final_write_processing(), elfNN_ia64_modify_segment_map(), elfNN_ia64_relax_section(), elfNN_ia64_relocate_section(), get_reloc_section(), get_xtensa_relax_info(), i370_elf_check_relocs(), i370_elf_finish_dynamic_sections(), i370_elf_relocate_section(), i370_elf_size_dynamic_sections(), ip2k_delete_page_insn(), ip2k_elf_relax_delete_bytes(), ip2k_elf_relax_section(), iq2000_elf_check_relocs(), m32r_elf_check_relocs(), m32r_elf_fake_sections(), m32r_elf_finish_dynamic_sections(), m32r_elf_gc_sweep_hook(), m32r_elf_relocate_section(), m32r_elf_size_dynamic_sections(), m68hc11_elf_relax_delete_bytes(), m68hc11_elf_relax_section(), mips_elf64_canonicalize_dynamic_reloc(), mips_elf64_slurp_reloc_table(), mips_elf64_write_relocs(), mips_elf_create_dynamic_relocation(), mmix_elf_relax_section(), mn10200_elf_get_relocated_section_contents(), mn10200_elf_relax_delete_bytes(), mn10200_elf_relax_section(), mn10300_elf_check_relocs(), mn10300_elf_final_link_relocate(), mn10300_elf_get_relocated_section_contents(), mn10300_elf_relax_delete_bytes(), mn10300_elf_relax_section(), move_literal(), msp430_elf_relax_delete_bytes(), msp430_elf_relax_section(), pin_contents(), pin_internal_relocs(), ppc64_elf_check_relocs(), ppc64_elf_edit_opd(), ppc64_elf_edit_toc(), ppc64_elf_finish_dynamic_sections(), ppc64_elf_gc_sweep_hook(), ppc64_elf_relocate_section(), ppc64_elf_size_dynamic_sections(), ppc64_elf_size_stubs(), ppc64_elf_tls_optimize(), ppc_build_one_stub(), ppc_elf_check_relocs(), ppc_elf_finish_dynamic_sections(), ppc_elf_gc_sweep_hook(), ppc_elf_relax_section(), ppc_elf_relocate_section(), ppc_elf_size_dynamic_sections(), ppc_elf_tls_optimize(), release_contents(), release_internal_relocs(), retrieve_contents(), retrieve_internal_relocs(), sh64_address_in_cranges(), sh64_bfd_elf_copy_private_section_data(), sh64_elf64_finish_dynamic_sections(), sh64_elf_final_write_processing(), sh64_get_contents_type(), sh_elf64_check_relocs(), sh_elf64_copy_private_data_internal(), sh_elf64_get_relocated_section_contents(), sh_elf64_relocate_section(), sh_elf_check_relocs(), sh_elf_finish_dynamic_sections(), sh_elf_gc_sweep_hook(), sh_elf_get_relocated_section_contents(), sh_elf_relax_delete_bytes(), sh_elf_relax_section(), sh_elf_reloc_loop(), sh_elf_relocate_section(), sh_elf_size_dynamic_sections(), sparc64_elf_canonicalize_dynamic_reloc(), sparc64_elf_check_relocs(), sparc64_elf_fake_sections(), sparc64_elf_finish_dynamic_sections(), sparc64_elf_output_arch_syms(), sparc64_elf_relocate_section(), sparc64_elf_slurp_reloc_table(), sparc64_elf_write_relocs(), toc_adjusting_stub_needed(), v850_elf_relax_delete_bytes(), and v850_elf_relax_section().
Definition at line 1131 of file elf-bfd.h.
Referenced by _bfd_elf_make_section_from_shdr(), _bfd_elf_new_section_hook(), bfd_elf_match_symbols_in_sections(), and elf_fake_sections().
Definition at line 1339 of file elf-bfd.h.
Referenced by _bfd_elf_symbol_from_bfd_symbol(), bfd_elf_set_group_contents(), and elf_map_symbols().
Definition at line 1130 of file elf-bfd.h.
Referenced by _bfd_elf_make_section_from_shdr(), _bfd_elf_new_section_hook(), and bfd_elf_match_symbols_in_sections().
Definition at line 1330 of file elf-bfd.h.
Referenced by _bfd_elf_close_and_cleanup(), _bfd_elf_compute_section_file_positions(), _bfd_elf_init_reloc_shdr(), _bfd_elf_write_object_contents(), assign_section_numbers(), elf_fake_sections(), and prep_headers().
Definition at line 1345 of file elf-bfd.h.
Referenced by _bfd_elf_gc_mark(), _bfd_mips_elf_check_relocs(), _bfd_mips_elf_gc_sweep_hook(), _bfd_mips_relax_section(), adjust_all_relocations(), bfd_elf_discard_info(), bfd_elf_gc_record_vtinherit(), bfd_m68k_elf32_create_embedded_relocs(), cris_elf_check_relocs(), cris_elf_gc_sweep_hook(), cris_elf_relocate_section(), elf32_avr_check_relocs(), elf32_avr_relocate_section(), elf32_d10v_check_relocs(), elf32_d10v_relocate_section(), elf32_dlx_check_relocs(), elf32_frv_check_relocs(), elf32_frv_relocate_section(), elf32_h8_relax_delete_bytes(), elf32_h8_relax_section(), elf32_h8_relocate_section(), elf32_h8_symbol_address_p(), elf32_hppa_check_relocs(), elf32_hppa_gc_sweep_hook(), elf32_hppa_relocate_section(), elf32_hppa_size_stubs(), elf32_i860_relocate_section(), elf32_m68hc11_check_relocs(), elf32_m68hc11_relocate_section(), elf32_m68hc11_size_stubs(), elf32_msp430_check_relocs(), elf32_msp430_relocate_section(), elf32_sparc_check_relocs(), elf32_sparc_gc_sweep_hook(), elf32_sparc_relocate_section(), elf64_alpha_relocate_section(), elf64_hppa_check_relocs(), elf64_x86_64_check_relocs(), elf64_x86_64_gc_sweep_hook(), elf64_x86_64_relocate_section(), elf_bfd_discard_info(), elf_gc_mark(), elf_gc_record_vtinherit(), elf_i386_check_relocs(), elf_i386_gc_sweep_hook(), elf_i386_relocate_section(), elf_link_add_object_symbols(), elf_link_input_bfd(), elf_m68k_check_relocs(), elf_m68k_gc_sweep_hook(), elf_m68k_relocate_section(), elf_s390_check_relocs(), elf_s390_gc_sweep_hook(), elf_s390_relocate_section(), elf_vax_check_relocs(), elf_vax_gc_sweep_hook(), elf_vax_relocate_section(), elf_xtensa_check_relocs(), elf_xtensa_gc_sweep_hook(), elf_xtensa_relocate_section(), elfNN_ia64_check_relocs(), elfNN_ia64_relax_section(), elfNN_ia64_relocate_section(), fr30_elf_check_relocs(), fr30_elf_relocate_section(), get_elf_r_symndx_hash_entry(), get_elf_r_symndx_offset(), get_elf_r_symndx_section(), get_local_syms(), get_sym_h(), global_sym_index(), i370_elf_check_relocs(), i370_elf_relocate_section(), ip2k_elf_relocate_section(), iq2000_elf_check_relocs(), iq2000_elf_relocate_section(), m32r_elf_check_relocs(), m32r_elf_gc_sweep_hook(), m32r_elf_relocate_section(), m68hc11_elf_relax_delete_bytes(), m68hc11_elf_relax_section(), m68hc11_get_relocation_value(), mcore_elf_check_relocs(), mcore_elf_relocate_section(), mips_elf_calculate_relocation(), mips_elf_local_relocation_p(), mmix_elf_check_relocs(), mmix_elf_relax_section(), mmix_elf_relocate_section(), mn10200_elf_relax_delete_bytes(), mn10200_elf_relax_section(), mn10200_elf_relocate_section(), mn10200_elf_symbol_address_p(), mn10300_elf_check_relocs(), mn10300_elf_relax_delete_bytes(), mn10300_elf_relax_section(), mn10300_elf_relocate_section(), mn10300_elf_symbol_address_p(), msp430_elf_relax_delete_bytes(), msp430_elf_relax_section(), msp430_elf_symbol_address_p(), opd_entry_value(), openrisc_elf_check_relocs(), openrisc_elf_relocate_section(), ppc64_elf_check_relocs(), ppc64_elf_edit_opd(), ppc64_elf_edit_toc(), ppc64_elf_gc_sweep_hook(), ppc64_elf_relocate_section(), ppc_build_one_stub(), ppc_elf_check_relocs(), ppc_elf_gc_sweep_hook(), ppc_elf_relax_section(), ppc_elf_relocate_section(), ppc_elf_tls_optimize(), relax_section_symbols(), sh64_elf64_add_symbol_hook(), sh64_elf_add_symbol_hook(), sh_elf64_check_relocs(), sh_elf64_relocate_section(), sh_elf_check_relocs(), sh_elf_gc_sweep_hook(), sh_elf_relax_delete_bytes(), sh_elf_relax_section(), sh_elf_relocate_section(), shrink_dynamic_reloc_sections(), sparc64_elf_check_relocs(), sparc64_elf_relocate_section(), symbol_value(), v850_elf_check_relocs(), v850_elf_relax_delete_bytes(), v850_elf_relax_section(), v850_elf_relocate_section(), xstormy16_elf_check_relocs(), and xstormy16_elf_relocate_section().
| #define elf_symbol_from | ( | ABFD, | |||
| S | ) |
Value:
(((S)->the_bfd->xvec->flavour == bfd_target_elf_flavour \ && (S)->the_bfd->tdata.elf_obj_data != 0) \ ? (elf_symbol_type *) (S) \ : 0)
Definition at line 507 of file elf-bfd.h.
Referenced by _bfd_elf_copy_private_symbol_data(), sh64_get_contents_type_disasm(), and swap_out_syms().
Definition at line 1332 of file elf-bfd.h.
Referenced by bfd_elf_final_link(), bfd_section_from_shdr(), and elf_bfd_final_link().
Definition at line 1326 of file elf-bfd.h.
Referenced by _bfd_dwarf1_find_nearest_line(), _bfd_elf_assign_file_positions_for_relocs(), _bfd_elf_compute_section_file_positions(), _bfd_elf_copy_private_header_data(), _bfd_elf_copy_private_symbol_data(), _bfd_elf_discard_section_eh_frame_hdr(), _bfd_elf_find_nearest_line(), _bfd_elf_gc_mark(), _bfd_elf_get_dynamic_symtab_upper_bound(), _bfd_elf_get_symtab_upper_bound(), _bfd_elf_link_find_version_dependencies(), _bfd_elf_make_section_from_shdr(), _bfd_elf_print_private_bfd_data(), _bfd_elf_setup_group_pointers(), _bfd_elf_slurp_version_tables(), _bfd_elf_write_object_contents(), _bfd_mips_elf_add_symbol_hook(), _bfd_mips_elf_check_relocs(), _bfd_mips_elf_find_nearest_line(), _bfd_mips_elf_gc_sweep_hook(), _bfd_mips_elf_modify_segment_map(), _bfd_mips_relax_section(), _frvfdpic_osec_readonly_p(), _frvfdpic_osec_to_segment(), adjust_all_relocations(), assign_file_positions_except_relocs(), assign_file_positions_for_segments(), assign_section_numbers(), bfd_elf_discard_info(), bfd_elf_final_link(), bfd_elf_gc_common_finalize_got_offsets(), bfd_elf_gc_record_vtinherit(), bfd_elf_get_elf_syms(), bfd_elf_link_record_local_dynamic_symbol(), bfd_elf_match_symbols_in_sections(), bfd_elf_mkobject(), bfd_elf_print_symbol(), bfd_elf_size_dynamic_sections(), bfd_get_elf_phdrs(), bfd_m68k_elf32_create_embedded_relocs(), bfd_record_phdr(), bfd_section_from_r_symndx(), bfd_section_from_shdr(), copy_private_bfd_data(), cris_elf_check_relocs(), cris_elf_gc_sweep_hook(), cris_elf_grok_prstatus(), cris_elf_grok_psinfo(), cris_elf_relocate_section(), elf32_arm_nabi_grok_prstatus(), elf32_arm_nabi_grok_psinfo(), elf32_avr_check_relocs(), elf32_avr_relocate_section(), elf32_d10v_check_relocs(), elf32_d10v_relocate_section(), elf32_dlx_check_relocs(), elf32_frv_check_relocs(), elf32_frv_relocate_section(), elf32_frvfdpic_always_size_sections(), elf32_frvfdpic_copy_private_bfd_data(), elf32_frvfdpic_modify_segment_map(), elf32_h8_get_relocated_section_contents(), elf32_h8_relax_delete_bytes(), elf32_h8_relax_section(), elf32_h8_relocate_section(), elf32_h8_symbol_address_p(), elf32_hppa_check_relocs(), elf32_hppa_gc_sweep_hook(), elf32_hppa_grok_prstatus(), elf32_hppa_grok_psinfo(), elf32_hppa_relocate_section(), elf32_hppa_size_dynamic_sections(), elf32_hppa_size_stubs(), elf32_i860_relocate_section(), elf32_m68hc11_check_relocs(), elf32_m68hc11_relocate_section(), elf32_m68hc11_size_stubs(), elf32_mips_grok_prstatus(), elf32_mips_grok_psinfo(), elf32_msp430_check_relocs(), elf32_msp430_relocate_section(), elf32_shlin_grok_prstatus(), elf32_shlin_grok_psinfo(), elf32_sparc_check_relocs(), elf32_sparc_gc_sweep_hook(), elf32_sparc_grok_psinfo(), elf32_sparc_relocate_section(), elf32_sparc_size_dynamic_sections(), elf64_alpha_calc_got_offsets(), elf64_alpha_can_merge_gots(), elf64_alpha_check_relocs(), elf64_alpha_find_nearest_line(), elf64_alpha_merge_gots(), elf64_alpha_relax_section(), elf64_alpha_relocate_section(), elf64_alpha_relocate_section_r(), elf64_alpha_size_rela_got_section(), elf64_hppa_check_relocs(), elf64_hppa_modify_segment_map(), elf64_mips_grok_prstatus(), elf64_mips_grok_psinfo(), elf64_x86_64_check_relocs(), elf64_x86_64_gc_sweep_hook(), elf64_x86_64_grok_prstatus(), elf64_x86_64_grok_psinfo(), elf64_x86_64_relocate_section(), elf64_x86_64_size_dynamic_sections(), elf_bfd_discard_info(), elf_bfd_final_link(), elf_core_file_failing_command(), elf_core_file_failing_signal(), elf_core_file_matches_executable_p(), elf_core_file_p(), elf_create_pointer_linker_section(), elf_fake_sections(), elf_finalize_dynstr(), elf_gc_common_finalize_got_offsets(), elf_gc_mark(), elf_gc_record_vtinherit(), elf_i386_check_relocs(), elf_i386_gc_sweep_hook(), elf_i386_grok_prstatus(), elf_i386_grok_psinfo(), elf_i386_relocate_section(), elf_i386_size_dynamic_sections(), elf_link_add_object_symbols(), elf_link_check_versioned_symbol(), elf_link_flush_output_syms(), elf_link_input_bfd(), elf_link_is_defined_archive_symbol(), elf_link_read_relocs_from_section(), elf_m68k_check_relocs(), elf_m68k_gc_sweep_hook(), elf_m68k_relocate_section(), elf_object_p(), elf_s390_check_relocs(), elf_s390_gc_sweep_hook(), elf_s390_grok_prstatus(), elf_s390_relocate_section(), elf_s390_size_dynamic_sections(), elf_slurp_symbol_table(), elf_vax_check_relocs(), elf_vax_gc_sweep_hook(), elf_vax_relocate_section(), elf_xtensa_allocate_local_got_size(), elf_xtensa_check_relocs(), elf_xtensa_gc_sweep_hook(), elf_xtensa_grok_prstatus(), elf_xtensa_grok_psinfo(), elf_xtensa_modify_segment_map(), elf_xtensa_relocate_section(), elfcore_grok_netbsd_note(), elfcore_grok_netbsd_procinfo(), elfcore_grok_nto_regs(), elfcore_grok_nto_status(), elfcore_make_pid(), elfNN_ia64_check_relocs(), elfNN_ia64_modify_segment_map(), elfNN_ia64_relax_section(), elfNN_ia64_relocate_section(), fr30_elf_check_relocs(), fr30_elf_relocate_section(), get_elf_r_symndx_hash_entry(), get_elf_r_symndx_offset(), get_elf_r_symndx_section(), get_got_entry(), get_local_syms(), get_program_header_size(), get_sym_h(), global_sym_index(), group_signature(), i370_elf_check_relocs(), i370_elf_relocate_section(), ip2k_elf_relax_section(), ip2k_elf_relocate_section(), iq2000_elf_check_relocs(), iq2000_elf_relocate_section(), m32r_elf_check_relocs(), m32r_elf_gc_sweep_hook(), m32r_elf_relocate_section(), m32r_elf_size_dynamic_sections(), m68hc11_elf_relax_delete_bytes(), m68hc11_elf_relax_section(), m68hc11_get_relocation_value(), map_sections_to_segments(), mcore_elf_check_relocs(), mcore_elf_relocate_section(), mips_elf_calculate_relocation(), mips_elf_local_relocation_p(), mmix_elf_check_relocs(), mmix_elf_relax_section(), mmix_elf_relocate_section(), mn10200_elf_get_relocated_section_contents(), mn10200_elf_relax_delete_bytes(), mn10200_elf_relax_section(), mn10200_elf_relocate_section(), mn10200_elf_symbol_address_p(), mn10300_elf_check_relocs(), mn10300_elf_get_relocated_section_contents(), mn10300_elf_relax_delete_bytes(), mn10300_elf_relax_section(), mn10300_elf_relocate_section(), mn10300_elf_symbol_address_p(), msp430_elf_relax_delete_bytes(), msp430_elf_relax_section(), msp430_elf_symbol_address_p(), opd_entry_value(), openrisc_elf_check_relocs(), openrisc_elf_relocate_section(), ppc64_elf_check_relocs(), ppc64_elf_edit_opd(), ppc64_elf_edit_toc(), ppc64_elf_gc_sweep_hook(), ppc64_elf_grok_prstatus(), ppc64_elf_grok_psinfo(), ppc64_elf_relocate_section(), ppc64_elf_size_dynamic_sections(), ppc64_elf_size_stubs(), ppc64_elf_tls_optimize(), ppc_elf_check_relocs(), ppc_elf_gc_sweep_hook(), ppc_elf_grok_prstatus(), ppc_elf_grok_psinfo(), ppc_elf_relax_section(), ppc_elf_relocate_section(), ppc_elf_size_dynamic_sections(), ppc_elf_tls_optimize(), prep_headers(), relax_section_symbols(), retrieve_local_syms(), setup_group(), sh_elf64_check_relocs(), sh_elf64_get_relocated_section_contents(), sh_elf64_relocate_section(), sh_elf_check_relocs(), sh_elf_gc_sweep_hook(), sh_elf_get_relocated_section_contents(), sh_elf_relax_delete_bytes(), sh_elf_relax_section(), sh_elf_relocate_section(), sh_elf_size_dynamic_sections(), shrink_dynamic_reloc_sections(), sparc64_elf_check_relocs(), sparc64_elf_relocate_section(), swap_out_syms(), toc_adjusting_stub_needed(), v850_elf_check_relocs(), v850_elf_relax_delete_bytes(), v850_elf_relax_section(), v850_elf_relocate_section(), xstormy16_elf_check_relocs(), xstormy16_elf_relax_section(), and xstormy16_elf_relocate_section().
| #define get_elf_backend_data | ( | abfd | ) | ((const struct elf_backend_data *) (abfd)->xvec->backend_data) |
Definition at line 1144 of file elf-bfd.h.
Referenced by _bfd_elf_add_default_symbol(), _bfd_elf_add_dynamic_entry(), _bfd_elf_adjust_dynamic_symbol(), _bfd_elf_canonicalize_dynamic_reloc(), _bfd_elf_canonicalize_dynamic_symtab(), _bfd_elf_canonicalize_reloc(), _bfd_elf_canonicalize_symtab(), _bfd_elf_compute_section_file_positions(), _bfd_elf_create_dynamic_sections(), _bfd_elf_create_got_section(), _bfd_elf_discard_section_eh_frame(), _bfd_elf_fix_symbol_flags(), _bfd_elf_gc_mark(), _bfd_elf_get_dynamic_symtab_upper_bound(), _bfd_elf_get_sec_type_attr(), _bfd_elf_get_symtab_upper_bound(), _bfd_elf_get_synthetic_symtab(), _bfd_elf_init_reloc_shdr(), _bfd_elf_link_assign_sym_version(), _bfd_elf_link_create_dynamic_sections(), _bfd_elf_link_hash_table_init(), _bfd_elf_link_output_relocs(), _bfd_elf_link_read_relocs(), _bfd_elf_link_renumber_dynsyms(), _bfd_elf_make_section_from_shdr(), _bfd_elf_merge_symbol(), _bfd_elf_new_section_hook(), _bfd_elf_print_private_bfd_data(), _bfd_elf_section_from_bfd_section(), _bfd_elf_set_arch_mach(), _bfd_elf_sizeof_headers(), _bfd_elf_write_object_contents(), _bfd_elf_write_section_eh_frame(), _bfd_elf_write_section_eh_frame_hdr(), _bfd_mips_elf_add_symbol_hook(), _bfd_mips_elf_check_relocs(), _bfd_mips_elf_create_dynamic_sections(), _bfd_mips_elf_final_link(), _bfd_mips_elf_find_nearest_line(), _bfd_mips_elf_finish_dynamic_sections(), _bfd_mips_elf_read_ecoff_info(), _bfd_mips_elf_relocate_section(), _bfd_mips_relax_section(), _bfd_mn10300_elf_create_dynamic_sections(), _bfd_mn10300_elf_create_got_section(), _frv_create_got_section(), _frvfdpic_size_got_plt(), assign_file_positions_except_relocs(), assign_file_positions_for_segments(), assign_section_numbers(), bfd_alt_mach_code(), bfd_elf_bfd_from_remote_memory(), bfd_elf_discard_info(), bfd_elf_final_link(), bfd_elf_gc_common_finalize_got_offsets(), bfd_elf_gc_record_vtentry(), bfd_elf_gc_record_vtinherit(), bfd_elf_gc_sections(), bfd_elf_get_bfd_needed_list(), bfd_elf_get_elf_syms(), bfd_elf_match_symbols_in_sections(), bfd_elf_print_symbol(), bfd_elf_size_dynamic_sections(), bfd_fprintf_vma(), bfd_get_arch_size(), bfd_get_sign_extend_vma(), bfd_section_from_phdr(), bfd_section_from_shdr(), bfd_sprintf_vma(), compute_bucket_count(), copy_private_bfd_data(), elf32_frvfdpic_always_size_sections(), elf32_frvfdpic_copy_private_bfd_data(), elf32_frvfdpic_create_dynamic_sections(), elf32_m68hc11_relocate_section(), elf64_alpha_create_dynamic_sections(), elf64_alpha_final_link(), elf64_alpha_find_nearest_line(), elf64_alpha_read_ecoff_info(), elf_add_dt_needed_tag(), elf_bfd_discard_info(), elf_bfd_final_link(), elf_core_file_p(), elf_fake_sections(), elf_finalize_dynstr(), elf_finish_pointer_linker_section(), elf_fixup_link_order(), elf_gc_common_finalize_got_offsets(), elf_gc_mark(), elf_gc_propagate_vtable_entries_used(), elf_gc_record_vtentry(), elf_gc_sections(), elf_gc_smash_unused_vtentry_relocs(), elf_get_linked_section_vma(), elf_link_add_archive_symbols(), elf_link_add_object_symbols(), elf_link_adjust_relocs(), elf_link_input_bfd(), elf_link_is_defined_archive_symbol(), elf_link_output_extsym(), elf_link_output_sym(), elf_link_read_relocs_from_section(), elf_link_sort_relocs(), elf_object_p(), elf_reloc_link_order(), elf_section_ignore_discarded_relocs(), elf_slurp_reloc_table_from_section(), elf_slurp_symbol_table(), elf_swap_ehdr_in(), elf_swap_ehdr_out(), elf_swap_phdr_in(), elf_swap_shdr_in(), elf_swap_symbol_in(), elfcore_grok_note(), elfcore_write_note(), get_program_header_size(), m32r_elf_add_symbol_hook(), m32r_elf_create_dynamic_sections(), map_sections_to_segments(), mips_elf64_canonicalize_dynamic_reloc(), mips_elf64_canonicalize_reloc(), mips_elf_create_dynamic_relocation(), mips_elf_create_got_section(), mips_elf_create_procedure_table(), mips_elf_output_dynamic_relocation(), ppc64_elf_get_synthetic_symtab(), ppc_elf_create_linker_section(), prep_headers(), sh64_elf64_add_symbol_hook(), sh64_elf64_create_dynamic_sections(), sh64_elf_add_symbol_hook(), sh_elf_create_dynamic_sections(), sort_dynamic_relocs_64(), sparc64_elf_canonicalize_reloc(), swap_out_syms(), and sym_is_global().
| #define is_elf_hash_table | ( | htab | ) | (((struct bfd_link_hash_table *) (htab))->type == bfd_link_elf_hash_table) |
Definition at line 436 of file elf-bfd.h.
Referenced by _bfd_elf_add_dynamic_entry(), _bfd_elf_adjust_dynamic_symbol(), _bfd_elf_fix_symbol_flags(), _bfd_elf_link_create_dynamic_sections(), _bfd_elf_link_just_syms(), _bfd_elf_merge_sections(), bfd_elf_discard_info(), bfd_elf_final_link(), bfd_elf_gc_common_finalize_got_offsets(), bfd_elf_gc_sections(), bfd_elf_get_needed_list(), bfd_elf_get_runpath_list(), bfd_elf_link_record_local_dynamic_symbol(), bfd_elf_record_link_assignment(), bfd_elf_size_dynamic_sections(), elf_add_dynamic_entry(), elf_bfd_discard_info(), elf_bfd_final_link(), elf_gc_common_finalize_got_offsets(), elf_gc_sections(), elf_link_add_object_symbols(), elf_link_check_versioned_symbol(), elfNN_ia64_relax_section(), elfNN_ia64_relocate_section(), m32r_elf_add_symbol_hook(), sh64_elf64_add_symbol_hook(), and sh64_elf_add_symbol_hook().
| #define LOCAL_SYM_CACHE_SIZE 32 |
| #define MAX_INT_RELS_PER_EXT_REL 3 |
Definition at line 463 of file elf-bfd.h.
Referenced by elf_finish_pointer_linker_section(), elf_link_adjust_relocs(), and elf_reloc_link_order().
| #define NUM_SHDR_ENTRIES | ( | shdr | ) | ((shdr)->sh_size / (shdr)->sh_entsize) |
Definition at line 37 of file elf-bfd.h.
Referenced by _bfd_elf_link_output_relocs(), _bfd_elf_link_read_relocs(), _bfd_mips_elf_check_relocs(), _bfd_mips_elf_relocate_section(), bfd_elf_final_link(), bfd_section_from_shdr(), elf32_sparc_check_relocs(), elf64_alpha_can_merge_gots(), elf64_alpha_merge_gots(), elf64_x86_64_check_relocs(), elf_bfd_final_link(), elf_i386_check_relocs(), elf_link_input_bfd(), elf_s390_check_relocs(), elf_slurp_reloc_table(), elf_xtensa_check_relocs(), mips_elf64_slurp_reloc_table(), sparc64_elf_check_relocs(), sparc64_elf_relocate_section(), and sparc64_elf_slurp_reloc_table().
| #define RELOC_FOR_GLOBAL_SYMBOL | ( | info, | |||
| input_bfd, | |||||
| input_section, | |||||
| rel, | |||||
| r_symndx, | |||||
| symtab_hdr, | |||||
| sym_hashes, | |||||
| h, | |||||
| sec, | |||||
| relocation, | |||||
| unresolved_reloc, | |||||
| warned | ) |
Definition at line 1816 of file elf-bfd.h.
Referenced by cris_elf_relocate_section(), elf32_avr_relocate_section(), elf32_d10v_relocate_section(), elf32_h8_relocate_section(), elf32_hppa_relocate_section(), elf32_i860_relocate_section(), elf32_msp430_relocate_section(), elf32_sparc_relocate_section(), elf64_alpha_relocate_section(), elf64_x86_64_relocate_section(), elf_i386_relocate_section(), elf_m68k_relocate_section(), elf_s390_relocate_section(), elf_vax_relocate_section(), elf_xtensa_relocate_section(), elfNN_ia64_relocate_section(), fr30_elf_relocate_section(), ip2k_elf_relocate_section(), iq2000_elf_relocate_section(), m68hc11_get_relocation_value(), mcore_elf_relocate_section(), mmix_elf_relocate_section(), mn10200_elf_relocate_section(), mn10300_elf_relocate_section(), openrisc_elf_relocate_section(), ppc64_elf_relocate_section(), ppc_elf_relocate_section(), sparc64_elf_relocate_section(), v850_elf_relocate_section(), and xstormy16_elf_relocate_section().
| #define SYMBOL_CALLS_LOCAL | ( | INFO, | |||
| H | ) | _bfd_elf_symbol_refs_local_p (H, INFO, 1) |
Definition at line 235 of file elf-bfd.h.
Referenced by allocate_dynrelocs(), elf32_hppa_relocate_section(), elf64_x86_64_adjust_dynamic_symbol(), elf64_x86_64_relocate_section(), elf_i386_adjust_dynamic_symbol(), elf_i386_relocate_section(), elf_m68k_adjust_dynamic_symbol(), ppc64_elf_adjust_dynamic_symbol(), ppc64_elf_relocate_section(), ppc_elf_adjust_dynamic_symbol(), ppc_elf_relocate_section(), sh_elf_adjust_dynamic_symbol(), and sh_elf_relocate_section().
| #define SYMBOL_REFERENCES_LOCAL | ( | INFO, | |||
| H | ) | _bfd_elf_symbol_refs_local_p (H, INFO, 0) |
Definition at line 231 of file elf-bfd.h.
Referenced by allocate_dynrelocs(), elf64_x86_64_finish_dynamic_symbol(), elf64_x86_64_relocate_section(), elf_i386_finish_dynamic_symbol(), elf_i386_relocate_section(), elf_s390_relocate_section(), mips_elf_initialize_tls_slots(), mips_tls_got_relocs(), mn10300_elf_final_link_relocate(), mn10300_elf_relocate_section(), ppc64_elf_relocate_section(), ppc_elf_relocate_section(), sh_elf_finish_dynamic_symbol(), and sh_elf_relocate_section().
| #define WILL_CALL_FINISH_DYNAMIC_SYMBOL | ( | DYN, | |||
| SHARED, | |||||
| H | ) |
Value:
Definition at line 1806 of file elf-bfd.h.
Referenced by allocate_dynrelocs(), allocate_plt_static(), elf32_hppa_relocate_section(), elf32_sparc_relocate_section(), elf64_x86_64_relocate_section(), elf_i386_relocate_section(), elf_m68k_relocate_section(), elf_s390_relocate_section(), m32r_elf_relocate_section(), mips_elf_initialize_tls_slots(), mips_tls_got_relocs(), ppc64_elf_relocate_section(), ppc_elf_relocate_section(), sh_elf_relocate_section(), and sparc64_elf_relocate_section().
| enum elf_reloc_type_class |
| enum irix_compat_t |
| bfd* _bfd_elf32_bfd_from_remote_memory | ( | bfd * | templ, | |
| bfd_vma | ehdr_vma, | |||
| bfd_vma * | loadbasep, | |||
| int(*)(bfd_vma, bfd_byte *, int) | target_read_memory | |||
| ) |
| bfd* _bfd_elf64_bfd_from_remote_memory | ( | bfd * | templ, | |
| bfd_vma | ehdr_vma, | |||
| bfd_vma * | loadbasep, | |||
| int(*)(bfd_vma, bfd_byte *, int) | target_read_memory | |||
| ) |
| bfd_boolean _bfd_elf_add_default_symbol | ( | bfd * | , | |
| struct bfd_link_info * | , | |||
| struct elf_link_hash_entry * | , | |||
| const char * | , | |||
| Elf_Internal_Sym * | , | |||
| asection ** | , | |||
| bfd_vma * | , | |||
| bfd_boolean * | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 1354 of file elflink.c.
References _, _bfd_elf_merge_symbol(), _bfd_generic_link_add_one_symbol(), BFD_ASSERT, bfd_elf_link_record_dynamic_symbol(), bfd_hash_allocate(), bfd_ind_section_ptr, bfd_link_hash_defined, bfd_link_hash_defweak, bfd_link_hash_indirect, bfd_link_hash_warning, BSF_INDIRECT, collect(), elf_backend_data::collect, elf_link_hash_entry::def_dynamic, elf_link_hash_entry::def_regular, dynamic, DYNAMIC, elf_backend_data::elf_backend_copy_indirect_symbol, elf_hash_table, elf_link_hash_lookup, ELF_VER_CHR, FALSE, bfd::flags, get_elf_backend_data, bfd_link_info::hash, bfd_link_hash_entry::i, if(), len, memcpy, NULL, p, elf_link_hash_entry::ref_dynamic, elf_link_hash_entry::ref_regular, elf_link_hash_entry::root, sec, bfd_link_info::shared, skip, strchr, strlen(), bfd_link_hash_table::table, TRUE, bfd_link_hash_entry::type, and bfd_link_hash_entry::u.
Referenced by elf_link_add_object_symbols().
| bfd_boolean _bfd_elf_add_dynamic_entry | ( | struct bfd_link_info * | , | |
| bfd_vma | , | |||
| bfd_vma | ||||
| ) |
Definition at line 2791 of file elflink.c.
References _, _bfd_error_handler, BFD_ASSERT, bfd_get_section_by_name(), bfd_realloc(), bfd_section::contents, elf_internal_dyn::d_tag, elf_internal_dyn::d_un, elf_internal_dyn::d_val, DT_TEXTREL, elf_link_hash_table::dynobj, elf_hash_table, FALSE, get_elf_backend_data, is_elf_hash_table, NULL, s, elf_backend_data::s, bfd_link_info::shared, bfd_section::size, elf_size_info::sizeof_dyn, elf_size_info::swap_dyn_out, TRUE, and bfd_link_info::warn_shared_textrel.
Referenced by _bfd_mn10300_elf_size_dynamic_sections(), bfd_elf_size_dynamic_sections(), elf32_frvfdpic_size_dynamic_sections(), elf_add_dt_needed_tag(), and sh64_elf64_size_dynamic_sections().
| bfd_boolean _bfd_elf_adjust_dynamic_symbol | ( | struct elf_link_hash_entry * | , | |
| void * | ||||
| ) |
Definition at line 2382 of file elflink.c.
References _, _bfd_elf_adjust_dynamic_symbol(), _bfd_elf_fix_symbol_flags(), bfd_link_hash_indirect, bfd_link_hash_warning, elf_link_hash_entry::def_dynamic, elf_link_hash_entry::def_regular, elf_link_hash_entry::dynamic_adjusted, elf_link_hash_entry::dynindx, elf_backend_data::elf_backend_adjust_dynamic_symbol, elf_hash_table, elf_info_failed::failed, FALSE, get_elf_backend_data, elf_link_hash_entry::got, bfd_link_info::hash, bfd_link_hash_entry::i, elf_info_failed::info, is_elf_hash_table, elf_link_hash_entry::needs_plt, NULL, elf_link_hash_entry::plt, elf_link_hash_entry::ref_regular, elf_link_hash_entry::root, bfd_link_hash_entry::root, elf_link_hash_entry::size, bfd_hash_entry::string, STT_NOTYPE, TRUE, bfd_link_hash_entry::type, elf_link_hash_entry::type, bfd_link_hash_entry::u, elf_link_hash_entry::u, and elf_link_hash_entry::weakdef.
Referenced by _bfd_elf_adjust_dynamic_symbol(), and bfd_elf_size_dynamic_sections().
| struct elf_link_hash_entry* _bfd_elf_archive_symbol_lookup | ( | bfd * | , | |
| struct bfd_link_info * | , | |||
| const char * | ||||
| ) | [read] |
Definition at line 4529 of file elflink.c.
References bfd_alloc(), bfd_release(), copy, elf_hash_table, elf_link_hash_lookup, ELF_VER_CHR, FALSE, first, h, len, memcpy, NULL, p, strchr, and strlen().
Referenced by ppc64_elf_archive_symbol_lookup().
| file_ptr _bfd_elf_assign_file_position_for_section | ( | Elf_Internal_Shdr * | , | |
| file_ptr | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 3220 of file elf.c.
References BFD_ALIGN, elf_internal_shdr::bfd_section, bfd_section::filepos, NULL, elf_internal_shdr::sh_addralign, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_size, elf_internal_shdr::sh_type, and SHT_NOBITS.
Referenced by _bfd_elf_assign_file_positions_for_relocs(), _bfd_elf_compute_section_file_positions(), assign_file_positions_except_relocs(), assign_file_positions_for_segments(), bfd_elf_final_link(), and elf_bfd_final_link().
Definition at line 4703 of file elf.c.
References _bfd_elf_assign_file_position_for_section(), elf_elfsections, elf_numsections, elf_tdata, i, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_type, SHT_REL, SHT_RELA, and TRUE.
Referenced by _bfd_elf_write_object_contents(), bfd_elf_final_link(), and elf_bfd_final_link().
| bfd_boolean _bfd_elf_can_make_relative | ( | bfd * | input_bfd, | |
| struct bfd_link_info * | info, | |||
| asection * | eh_frame_section | |||
| ) |
Definition at line 6005 of file elf.c.
References bfd_error_invalid_operation, bfd_set_error(), count, elf_dynsymtab, elf_section_data, bfd_section::flags, get_elf_backend_data, i, bfd_section::next, NULL, p, bfd_section::relocation, ret, s, SEC_LOAD, bfd::sections, SHT_REL, SHT_RELA, bfd_section::size, and TRUE.
Definition at line 5956 of file elf.c.
References bfd_get_dynamic_symcount, get_elf_backend_data, elf_backend_data::s, elf_size_info::slurp_symbol_table, symcount, and TRUE.
Definition at line 5923 of file elf.c.
References FALSE, get_elf_backend_data, i, NULL, bfd_section::reloc_count, bfd_section::relocation, elf_backend_data::s, and elf_size_info::slurp_reloc_table.
Definition at line 5945 of file elf.c.
References bfd_get_symcount, FALSE, get_elf_backend_data, elf_backend_data::s, elf_size_info::slurp_symbol_table, and symcount.
| bfd_boolean _bfd_elf_close_and_cleanup | ( | bfd * | ) |
Definition at line 6647 of file elf.c.
References _bfd_elf_strtab_free(), _bfd_generic_close_and_cleanup, bfd_get_format, bfd_object, elf_shstrtab, and NULL.
| bfd_boolean _bfd_elf_compute_section_file_positions | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 3245 of file elf.c.
References _bfd_elf_assign_file_position_for_section(), _bfd_elf_strtab_size(), _bfd_stringtab_emit(), _bfd_stringtab_free(), assign_file_positions_except_relocs(), assign_section_numbers(), bfd_elf_set_group_contents(), bfd_get_symcount, bfd_map_over_sections(), bfd_seek(), DYNAMIC, elf_backend_data::elf_backend_begin_write_processing, elf_backend_data::elf_backend_post_process_headers, elf_fake_sections(), elf_shstrtab, elf_tdata, EXEC_P, FALSE, bfd::flags, get_elf_backend_data, NULL, bfd::output_has_begun, prep_headers(), SEEK_SET, elf_internal_shdr::sh_addr, elf_internal_shdr::sh_addralign, elf_internal_shdr::sh_entsize, elf_internal_shdr::sh_flags, elf_internal_shdr::sh_info, elf_internal_shdr::sh_link, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_size, elf_internal_shdr::sh_type, SHT_STRTAB, swap_out_syms(), and TRUE.
Referenced by _bfd_elf_set_section_contents(), _bfd_elf_write_object_contents(), bfd_elf_final_link(), and elf_bfd_final_link().
Definition at line 987 of file elf.c.
References BFD_ASSERT, bfd_get_flavour, bfd_target_elf_flavour, elf_elfheader, elf_flags_init, elf_gp, and TRUE.
Referenced by cris_elf_copy_private_bfd_data().
Definition at line 5515 of file elf.c.
References bfd_get_flavour, bfd_target_elf_flavour, copy_private_bfd_data(), elf_tdata, FALSE, NULL, and TRUE.
Definition at line 5479 of file elf.c.
References bfd_target_elf_flavour, elf_group_name, elf_next_in_group, elf_section_data, bfd_target::flavour, elf_internal_shdr::sh_entsize, elf_internal_shdr::sh_info, elf_internal_shdr::sh_type, SHT_DYNSYM, SHT_GNU_verdef, SHT_GNU_verneed, SHT_SYMTAB, TRUE, bfd_section::use_rela_p, and bfd::xvec.
Referenced by sh64_bfd_elf_copy_private_section_data().
Definition at line 5548 of file elf.c.
References bfd_get_flavour, bfd_is_abs_section, bfd_target_elf_flavour, elf_dynsymtab, elf_onesymtab, elf_symbol_from, elf_tdata, elf_symbol_type::internal_elf_sym, MAP_DYNSYMTAB, MAP_ONESYMTAB, MAP_SHSTRTAB, MAP_STRTAB, MAP_SYM_SHNDX, NULL, bfd_symbol::section, elf_internal_sym::st_shndx, elf_symbol_type::symbol, and TRUE.
| bfd_boolean _bfd_elf_create_dynamic_sections | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 282 of file elflink.c.
References _bfd_elf_create_got_section(), _bfd_generic_link_add_one_symbol(), bfd_elf_link_record_dynamic_symbol(), bfd_make_section(), bfd_set_section_alignment, bfd_set_section_flags(), BSF_GLOBAL, collect(), elf_link_hash_entry::def_regular, elf_backend_data::default_use_rela_p, elf_backend_data::dynamic_sec_flags, bfd_link_info::executable, FALSE, flags, get_elf_backend_data, h, elf_size_info::log_file_align, NULL, elf_backend_data::plt_alignment, elf_backend_data::plt_not_loaded, elf_backend_data::plt_readonly, s, elf_backend_data::s, SEC_ALLOC, SEC_CODE, SEC_HAS_CONTENTS, SEC_LINKER_CREATED, SEC_LOAD, SEC_READONLY, bfd_link_info::shared, STT_OBJECT, TRUE, elf_link_hash_entry::type, elf_backend_data::want_dynbss, and elf_backend_data::want_plt_sym.
Referenced by elf32_hppa_create_dynamic_sections(), elf32_sparc_create_dynamic_sections(), elf64_x86_64_create_dynamic_sections(), elf_i386_create_dynamic_sections(), elf_s390_create_dynamic_sections(), elf_xtensa_create_dynamic_sections(), elfNN_ia64_create_dynamic_sections(), i370_elf_create_dynamic_sections(), ppc64_elf_create_dynamic_sections(), ppc_elf_create_dynamic_sections(), and sparc64_elf_create_dynamic_sections().
| bfd_boolean _bfd_elf_create_got_section | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 51 of file elflink.c.
References _bfd_generic_link_add_one_symbol(), elf_size_info::arch_size, bfd_elf_link_record_dynamic_symbol(), bfd_error_bad_value, bfd_get_section_by_name(), bfd_make_section(), bfd_set_error(), bfd_set_section_alignment, bfd_set_section_flags(), BSF_GLOBAL, elf_backend_data::collect, elf_link_hash_entry::def_regular, elf_backend_data::dynamic_sec_flags, elf_hash_table, bfd_link_info::executable, FALSE, bfd_section::flags, flags, get_elf_backend_data, elf_backend_data::got_header_size, elf_backend_data::got_symbol_offset, h, NULL, elf_link_hash_entry::other, s, elf_backend_data::s, SEC_LINKER_CREATED, bfd_section::size, STT_OBJECT, STV_HIDDEN, TRUE, elf_link_hash_entry::type, elf_backend_data::want_got_plt, and elf_backend_data::want_got_sym.
Referenced by _bfd_elf_create_dynamic_sections(), create_got_section(), cris_elf_check_relocs(), elf_m68k_check_relocs(), elf_vax_check_relocs(), get_got(), ppc_elf_create_got(), sh64_elf64_create_dynamic_sections(), and sh_elf64_check_relocs().
| bfd_boolean _bfd_elf_discard_section_eh_frame | ( | bfd * | , | |
| struct bfd_link_info * | , | |||
| asection * | , | |||
| bfd_boolean(*)(bfd_vma, void *) | , | |||
| struct elf_reloc_cookie * | ||||
| ) |
Definition at line 370 of file elf-eh-frame.c.
References eh_cie_fde::add_augmentation_size, eh_cie_fde::add_fde_encoding, eh_frame_sec_info::alloced, cie::augmentation, cie::augmentation_size, bfd_get_32, bfd_is_abs_section, bfd_link_hash_indirect, bfd_link_hash_warning, bfd_malloc_and_get_section(), bfd_realloc(), bfd_zmalloc(), buf, eh_cie_fde::cie, cie_compare(), eh_cie_fde::cie_inf, cie::code_align, eh_frame_sec_info::count, count, cie::data_align, DW_EH_PE_absptr, DW_EH_PE_aligned, DW_EH_PE_omit, DW_EH_PE_pcrel, elf_link_hash_table::eh_info, ELF32_R_SYM, ELF64_R_SYM, elf_backend_can_make_lsda_relative_eh_frame, elf_backend_can_make_relative_eh_frame, elf_hash_table, ELF_INFO_TYPE_EH_FRAME, elf_section_data, end, ENSURE_NO_RELOCS, eh_frame_sec_info::entry, elf_reloc_cookie::extsymoff, FALSE, eh_frame_hdr_info::fde_count, eh_cie_fde::fde_encoding, cie::fde_encoding, bfd_section::flags, free(), get_DW_EH_PE_width(), get_elf_backend_data, GET_RELOC, h, cie::hdr, bfd_link_hash_entry::i, cie_header::id, cie::initial_insn_length, cie::initial_instructions, insns, eh_frame_hdr_info::last_cie, eh_frame_hdr_info::last_cie_inf, eh_frame_hdr_info::last_cie_sec, last_fde(), length, cie_header::length, elf_reloc_cookie::locsymcount, eh_cie_fde::lsda_encoding, cie::lsda_encoding, eh_cie_fde::lsda_offset, eh_cie_fde::make_lsda_relative, cie::make_lsda_relative, cie::make_relative, eh_cie_fde::make_relative, memcpy, memset, eh_cie_fde::new_offset, NULL, eh_cie_fde::offset, offset, bfd_section::output_section, cie::per_encoding, eh_cie_fde::per_encoding_relative, cie::personality, elf_internal_rela::r_info, cie::ra_column, bfd_section::rawsize, read_byte(), read_sleb128(), read_uleb128(), elf_reloc_cookie::rel, elf_reloc_cookie::relend, bfd_link_info::relocatable, eh_cie_fde::removed, REQUIRE, elf_link_hash_entry::root, SEC_EXCLUDE, bfd_section::sec_info_type, bfd_link_info::shared, eh_cie_fde::size, bfd_section::size, size_of_output_cie_fde(), skip_bytes(), skip_non_nops(), SKIP_RELOCS, start, strchr, strcpy, strlen(), elf_reloc_cookie::sym_hashes, eh_frame_hdr_info::table, bfd_link_hash_entry::type, bfd_link_hash_entry::u, and cie::version.
Referenced by bfd_elf_discard_info(), and elf_bfd_discard_info().
| bfd_boolean _bfd_elf_discard_section_eh_frame_hdr | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 836 of file elf-eh-frame.c.
References EH_FRAME_HDR_SIZE, elf_link_hash_table::eh_info, elf_hash_table, elf_tdata, FALSE, eh_frame_hdr_info::fde_count, eh_frame_hdr_info::hdr_sec, NULL, bfd_section::size, eh_frame_hdr_info::table, and TRUE.
Referenced by bfd_elf_discard_info(), and elf_bfd_discard_info().
| bfd_boolean _bfd_elf_dynamic_symbol_p | ( | struct elf_link_hash_entry * | , | |
| struct bfd_link_info * | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 2534 of file elflink.c.
References bfd_link_hash_indirect, bfd_link_hash_warning, elf_link_hash_entry::def_regular, elf_link_hash_entry::dynindx, ELF_ST_VISIBILITY, bfd_link_info::executable, FALSE, elf_link_hash_entry::forced_local, bfd_link_hash_entry::i, if(), NULL, elf_link_hash_entry::other, elf_link_hash_entry::root, STT_FUNC, STV_HIDDEN, STV_INTERNAL, STV_PROTECTED, bfd_link_info::symbolic, TRUE, bfd_link_hash_entry::type, elf_link_hash_entry::type, and bfd_link_hash_entry::u.
Referenced by alpha_elf_dynamic_symbol_p(), elf64_hppa_dynamic_symbol_p(), elfNN_ia64_dynamic_symbol_p(), and xtensa_elf_dynamic_symbol_p().
Referenced by _bfd_elf_section_offset().
| bfd_byte _bfd_elf_encode_eh_address | ( | bfd * | abfd, | |
| struct bfd_link_info * | info, | |||
| asection * | osec, | |||
| bfd_vma | offset, | |||
| asection * | loc_sec, | |||
| bfd_vma | loc_offset, | |||
| bfd_vma * | encoded | |||
| ) |
Referenced by frvfdpic_elf_encode_eh_address().
| bfd_boolean _bfd_elf_export_symbol | ( | struct elf_link_hash_entry * | , | |
| void * | ||||
| ) |
Definition at line 1587 of file elflink.c.
References bfd_elf_link_record_dynamic_symbol(), bfd_link_hash_indirect, bfd_link_hash_warning, d, elf_link_hash_entry::def_regular, elf_link_hash_entry::dynindx, elf_info_failed::failed, FALSE, bfd_elf_version_tree::globals, bfd_link_hash_entry::i, if(), elf_info_failed::info, bfd_elf_version_expr_head::list, bfd_elf_version_tree::locals, bfd_elf_version_tree::match, bfd_elf_version_tree::next, NULL, elf_link_hash_entry::ref_regular, elf_link_hash_entry::root, bfd_link_hash_entry::root, bfd_hash_entry::string, TRUE, bfd_link_hash_entry::type, bfd_link_hash_entry::u, and elf_info_failed::verdefs.
Referenced by bfd_elf_size_dynamic_sections().
| bfd_boolean _bfd_elf_find_nearest_line | ( | bfd * | , | |
| asection * | , | |||
| asymbol ** | , | |||
| bfd_vma | , | |||
| const char ** | , | |||
| const char ** | , | |||
| unsigned int * | ||||
| ) |
Definition at line 6454 of file elf.c.
References _bfd_dwarf1_find_nearest_line(), _bfd_dwarf2_find_nearest_line(), _bfd_stab_section_find_nearest_line(), elf_find_function(), elf_tdata, FALSE, NULL, and TRUE.
Referenced by _bfd_mips_elf_find_nearest_line(), and elf64_alpha_find_nearest_line().
| bfd_boolean _bfd_elf_fix_symbol_flags | ( | struct elf_link_hash_entry * | , | |
| struct elf_info_failed * | ||||
| ) |
Definition at line 2237 of file elflink.c.
References BFD_ASSERT, bfd_elf_link_record_dynamic_symbol(), bfd_get_flavour, bfd_is_abs_section, bfd_link_hash_defined, bfd_link_hash_defweak, bfd_link_hash_indirect, bfd_link_hash_undefweak, bfd_target_elf_flavour, bfd_link_hash_entry::def, elf_link_hash_entry::def_dynamic, elf_link_hash_entry::def_regular, DYNAMIC, elf_link_hash_entry::dynindx, elf_backend_data::elf_backend_copy_indirect_symbol, elf_backend_data::elf_backend_hide_symbol, elf_hash_table, ELF_ST_VISIBILITY, elf_info_failed::failed, FALSE, get_elf_backend_data, bfd_link_info::hash, bfd_link_hash_entry::i, if(), elf_info_failed::info, is_elf_hash_table, elf_link_hash_entry::needs_plt, elf_link_hash_entry::non_elf, NULL, elf_link_hash_entry::other, elf_link_hash_entry::ref_dynamic, elf_link_hash_entry::ref_regular, elf_link_hash_entry::ref_regular_nonweak, elf_link_hash_entry::root, bfd_link_info::shared, STV_DEFAULT, STV_HIDDEN, STV_INTERNAL, bfd_link_info::symbolic, TRUE, bfd_link_hash_entry::type, bfd_link_hash_entry::u, elf_link_hash_entry::u, and elf_link_hash_entry::weakdef.
Referenced by _bfd_elf_adjust_dynamic_symbol(), and _bfd_elf_link_assign_sym_version().
| bfd_boolean _bfd_elf_gc_mark | ( | struct bfd_link_info * | , | |
| asection * | , | |||
| asection * | *)(asection *, struct bfd_link_info *, Elf_Internal_Rela *, struct elf_link_hash_entry *, Elf_Internal_Sym * | |||
| ) |
Referenced by _bfd_elf_gc_mark(), bfd_elf_gc_sections(), and ppc64_elf_gc_mark_hook().
Definition at line 5973 of file elf.c.
References bfd_error_invalid_operation, bfd_set_error(), elf_dynsymtab, elf_section_data, bfd_section::flags, bfd_section::next, NULL, ret, s, SEC_LOAD, bfd::sections, SHT_REL, SHT_RELA, and bfd_section::size.
Referenced by mips_elf64_get_dynamic_reloc_upper_bound(), and sparc64_elf_get_dynamic_reloc_upper_bound().
Definition at line 5893 of file elf.c.
References bfd_error_invalid_operation, bfd_set_error(), elf_dynsymtab, elf_tdata, get_elf_backend_data, elf_internal_shdr::sh_size, and symcount.
| struct bfd_elf_special_section* _bfd_elf_get_sec_type_attr | ( | bfd * | , | |
| const char * | ||||
| ) | [read] |
Definition at line 2213 of file elf.c.
References elf_backend_data::default_use_rela_p, get_elf_backend_data, get_special_section(), NULL, and elf_backend_data::special_sections.
Referenced by _bfd_elf_new_section_hook().
| void _bfd_elf_get_symbol_info | ( | bfd * | , | |
| asymbol * | , | |||
| symbol_info * | ||||
| ) |
Definition at line 5878 of file elf.c.
References elf_tdata, get_elf_backend_data, elf_internal_shdr::sh_size, and symcount.
| bfd_boolean _bfd_elf_init_reloc_shdr | ( | bfd * | , | |
| Elf_Internal_Shdr * | , | |||
| asection * | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 2411 of file elf.c.
References _bfd_elf_strtab_add(), bfd_alloc(), elf_shstrtab, FALSE, get_elf_backend_data, int, elf_size_info::log_file_align, bfd_section::name, NULL, elf_backend_data::s, elf_internal_shdr::sh_addr, elf_internal_shdr::sh_addralign, elf_internal_shdr::sh_entsize, elf_internal_shdr::sh_flags, elf_internal_shdr::sh_name, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_size, elf_internal_shdr::sh_type, SHT_REL, SHT_RELA, elf_size_info::sizeof_rel, elf_size_info::sizeof_rela, sprintf(), strlen(), and TRUE.
Referenced by elf_fake_sections(), and m32r_elf_fake_sections().
| bfd_boolean _bfd_elf_is_local_label_name | ( | bfd * | , | |
| const char * | ||||
| ) |
| bfd_boolean _bfd_elf_link_assign_sym_version | ( | struct elf_link_hash_entry * | , | |
| void * | ||||
| ) |
Definition at line 1719 of file elflink.c.
References _, _bfd_elf_fix_symbol_flags(), bfd_error_bad_value, bfd_link_hash_warning, bfd_malloc(), bfd_set_error(), bfd_zalloc(), d, elf_link_hash_entry::def_regular, elf_link_hash_entry::dynindx, elf_backend_data::elf_backend_hide_symbol, ELF_VER_CHR, bfd_link_info::executable, bfd_link_info::export_dynamic, elf_assign_sym_version_info::failed, elf_info_failed::failed, FALSE, free(), get_elf_backend_data, bfd_elf_version_tree::globals, elf_link_hash_entry::hidden, bfd_link_hash_entry::i, if(), elf_info_failed::info, info, elf_assign_sym_version_info::info, int, len, bfd_elf_version_expr_head::list, bfd_elf_version_tree::locals, bfd_elf_version_tree::match, memcpy, bfd_elf_version_tree::name, bfd_elf_version_tree::name_indx, bfd_elf_version_tree::next, NULL, elf_assign_sym_version_info::output_bfd, p, bfd_elf_version_expr::pattern, elf_link_hash_entry::root, bfd_link_hash_entry::root, bfd_elf_version_expr::script, bfd_link_info::shared, strchr, strcmp(), bfd_hash_entry::string, bfd_elf_version_expr::symver, TRUE, bfd_link_hash_entry::type, bfd_link_hash_entry::u, bfd_elf_version_tree::used, elf_assign_sym_version_info::verdefs, elf_link_hash_entry::verinfo, bfd_elf_version_tree::vernum, version_index, and elf_link_hash_entry::vertree.
Referenced by bfd_elf_size_dynamic_sections().
| bfd_boolean _bfd_elf_link_create_dynamic_sections | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 153 of file elflink.c.
References _bfd_elf_link_create_dynstrtab(), _bfd_generic_link_add_one_symbol(), bfd_elf_link_record_dynamic_symbol(), bfd_link_hash_new, bfd_make_section(), bfd_set_section_alignment, bfd_set_section_flags(), BSF_GLOBAL, collect(), elf_link_hash_entry::def_regular, elf_backend_data::dynamic_sec_flags, elf_backend_data::elf_backend_create_dynamic_sections, elf_hash_table, elf_link_hash_lookup, elf_section_data, bfd_link_info::executable, FALSE, flags, get_elf_backend_data, h, bfd_link_info::hash, is_elf_hash_table, elf_size_info::log_file_align, NULL, elf_link_hash_entry::root, s, elf_backend_data::s, SEC_READONLY, elf_size_info::sizeof_hash_entry, STT_OBJECT, bfd_link_info::traditional_format, TRUE, bfd_link_hash_entry::type, and elf_link_hash_entry::type.
Referenced by elf64_hppa_check_relocs(), elf_add_dt_needed_tag(), and elf_link_add_object_symbols().
| bfd_boolean _bfd_elf_link_find_version_dependencies | ( | struct elf_link_hash_entry * | , | |
| void * | ||||
| ) |
Definition at line 1642 of file elflink.c.
References a, bfd_link_hash_warning, bfd_zalloc(), elf_link_hash_entry::def_dynamic, elf_link_hash_entry::def_regular, elf_link_hash_entry::dynindx, elf_tdata, elf_find_verdep_info::failed, FALSE, bfd_link_hash_entry::i, if(), NULL, elf_find_verdep_info::output_bfd, elf_link_hash_entry::root, TRUE, bfd_link_hash_entry::type, bfd_link_hash_entry::u, elf_internal_verdef::vd_bfd, elf_internal_verdef::vd_exp_refno, elf_internal_verdef::vd_flags, elf_internal_verdef::vd_nodename, elf_link_hash_entry::verdef, elf_link_hash_entry::verinfo, elf_find_verdep_info::vers, elf_internal_verneed::vn_auxptr, elf_internal_verneed::vn_bfd, elf_internal_verneed::vn_nextref, elf_internal_vernaux::vna_flags, elf_internal_vernaux::vna_nextptr, elf_internal_vernaux::vna_nodename, and elf_internal_vernaux::vna_other.
Referenced by bfd_elf_size_dynamic_sections().
| void _bfd_elf_link_hash_copy_indirect | ( | const struct elf_backend_data * | , | |
| struct elf_link_hash_entry * | , | |||
| struct elf_link_hash_entry * | ||||
| ) |
Definition at line 1408 of file elf.c.
References BFD_ASSERT, bfd_link_hash_indirect, elf_backend_data::can_refcount, elf_link_hash_entry::dynindx, elf_link_hash_entry::dynstr_index, elf_link_hash_entry::got, elf_link_hash_entry::needs_plt, elf_link_hash_entry::non_got_ref, elf_link_hash_entry::plt, elf_link_hash_entry::pointer_equality_needed, elf_link_hash_entry::ref_dynamic, elf_link_hash_entry::ref_regular, elf_link_hash_entry::ref_regular_nonweak, elf_link_hash_entry::gotplt_union::refcount, elf_link_hash_entry::root, tmp, and bfd_link_hash_entry::type.
Referenced by _bfd_mips_elf_copy_indirect_symbol(), elf32_hppa_copy_indirect_symbol(), elf32_sparc_copy_indirect_symbol(), elf64_x86_64_copy_indirect_symbol(), elf_i386_copy_indirect_symbol(), elf_s390_copy_indirect_symbol(), m32r_elf_copy_indirect_symbol(), ppc_elf_copy_indirect_symbol(), and sh_elf_copy_indirect_symbol().
| void _bfd_elf_link_hash_hide_symbol | ( | struct bfd_link_info * | , | |
| struct elf_link_hash_entry * | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 1460 of file elf.c.
References _bfd_elf_strtab_delref(), elf_link_hash_entry::dynindx, elf_link_hash_table::dynstr, elf_link_hash_entry::dynstr_index, elf_hash_table, elf_link_hash_entry::forced_local, elf_link_hash_entry::needs_plt, and elf_link_hash_entry::plt.
Referenced by _bfd_mips_elf_hide_symbol(), elf_cris_hide_symbol(), elf_xtensa_hide_symbol(), elfNN_ia64_hash_hide_symbol(), func_desc_adjust(), ppc64_elf_hide_symbol(), and sfpr_define().
| struct bfd_hash_entry* _bfd_elf_link_hash_newfunc | ( | struct bfd_hash_entry * | , | |
| struct bfd_hash_table * | , | |||
| const char * | ||||
| ) | [read] |
Definition at line 1363 of file elf.c.
References _bfd_link_hash_newfunc(), bfd_hash_allocate(), elf_link_hash_entry::dynindx, elf_link_hash_entry::got, elf_link_hash_entry::indx, elf_link_hash_table::init_refcount, memset, elf_link_hash_entry::non_elf, NULL, offsetof, elf_link_hash_entry::plt, ret, elf_link_hash_entry::size, and size.
Referenced by _bfd_elf_link_hash_table_create(), elf32_mn10300_link_hash_newfunc(), elf64_alpha_link_hash_newfunc(), elf64_hppa_hash_table_create(), elf_cris_link_hash_newfunc(), elf_m68k_link_hash_newfunc(), elf_vax_link_hash_newfunc(), elfNN_ia64_new_elf_hash_entry(), frvfdpic_elf_link_hash_table_create(), hppa_link_hash_newfunc(), link_hash_newfunc(), m32r_elf_link_hash_newfunc(), m68hc11_elf_hash_table_create(), mips_elf_link_hash_newfunc(), ppc_elf_link_hash_newfunc(), sh64_elf64_link_hash_newfunc(), sh_elf_link_hash_newfunc(), and sparc64_elf_bfd_link_hash_table_create().
| struct bfd_link_hash_table* _bfd_elf_link_hash_table_create | ( | bfd * | ) | [read] |
Definition at line 1522 of file elf.c.
References _bfd_elf_link_hash_newfunc(), _bfd_elf_link_hash_table_init(), bfd_malloc(), free(), NULL, ret, and elf_link_hash_table::root.
| bfd_boolean _bfd_elf_link_hash_table_init | ( | struct elf_link_hash_table * | , | |
| bfd * | , | |||
| struct bfd_hash_entry * | *)(struct bfd_hash_entry *, struct bfd_hash_table *, const char * | |||
| ) |
Referenced by _bfd_elf_link_hash_table_create(), _bfd_mips_elf_link_hash_table_create(), elf32_hppa_link_hash_table_create(), elf32_mn10300_link_hash_table_create(), elf32_sparc_link_hash_table_create(), elf64_alpha_bfd_link_hash_table_create(), elf64_hppa_hash_table_create(), elf64_x86_64_link_hash_table_create(), elf_cris_link_hash_table_create(), elf_i386_link_hash_table_create(), elf_m68k_link_hash_table_create(), elf_s390_link_hash_table_create(), elf_vax_link_hash_table_create(), elfNN_ia64_hash_table_create(), frvfdpic_elf_link_hash_table_create(), m32r_elf_link_hash_table_create(), m68hc11_elf_hash_table_create(), ppc64_elf_link_hash_table_create(), ppc_elf_link_hash_table_create(), sh64_elf64_link_hash_table_create(), sh_elf_link_hash_table_create(), and sparc64_elf_bfd_link_hash_table_create().
| void _bfd_elf_link_just_syms | ( | asection * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 973 of file elf.c.
References bfd_abs_section_ptr, ELF_INFO_TYPE_JUST_SYMS, bfd_link_info::hash, is_elf_hash_table, bfd_section::output_offset, bfd_section::output_section, bfd_section::sec_info_type, and bfd_section::vma.
| long _bfd_elf_link_lookup_local_dynindx | ( | struct bfd_link_info * | , | |
| bfd * | , | |||
| long | ||||
| ) |
Definition at line 632 of file elflink.c.
References elf_link_local_dynamic_entry::dynindx, elf_hash_table, elf_link_local_dynamic_entry::input_bfd, elf_link_local_dynamic_entry::input_indx, and elf_link_local_dynamic_entry::next.
Referenced by elf64_hppa_finalize_dlt(), elf64_hppa_finalize_dynreloc(), elf64_hppa_finalize_opd(), elfNN_ia64_relocate_section(), and sparc64_elf_finish_dynamic_sections().
| bfd_boolean _bfd_elf_link_omit_section_dynsym | ( | bfd * | , | |
| struct bfd_link_info * | , | |||
| asection * | ||||
| ) |
Referenced by elf32_sparc_omit_section_dynsym(), and sparc64_elf_omit_section_dynsym().
| bfd_boolean _bfd_elf_link_output_relocs | ( | bfd * | , | |
| asection * | , | |||
| Elf_Internal_Shdr * | , | |||
| Elf_Internal_Rela * | ||||
| ) |
Definition at line 2164 of file elflink.c.
References _, abort, bfd_error_wrong_object_format, bfd_set_error(), elf_internal_shdr::contents, elf_section_data, FALSE, get_elf_backend_data, elf_size_info::int_rels_per_ext_rel, NULL, NUM_SHDR_ENTRIES, bfd_section::output_section, bfd_section::owner, elf_backend_data::s, elf_internal_shdr::sh_entsize, elf_size_info::sizeof_rel, elf_size_info::sizeof_rela, elf_size_info::swap_reloc_out, elf_size_info::swap_reloca_out, TRUE, and void.
Referenced by elf_link_input_bfd().
| Elf_Internal_Rela* _bfd_elf_link_read_relocs | ( | bfd * | , | |
| asection * | , | |||
| void * | , | |||
| Elf_Internal_Rela * | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 2032 of file elflink.c.
References bfd_alloc(), bfd_malloc(), elf_link_read_relocs_from_section(), elf_section_data, free(), get_elf_backend_data, elf_size_info::int_rels_per_ext_rel, NULL, NUM_SHDR_ENTRIES, bfd_section::reloc_count, relocs, elf_backend_data::s, elf_internal_shdr::sh_size, and size.
Referenced by _bfd_elf_gc_mark(), _bfd_mips_elf_check_relocs(), _bfd_mips_elf_discard_info(), _bfd_mips_relax_section(), _bfd_mmix_check_all_relocs(), bfd_elf_discard_info(), bfd_elf_final_link(), bfd_m68k_elf32_create_embedded_relocs(), elf32_h8_get_relocated_section_contents(), elf32_h8_relax_section(), elf32_hppa_size_stubs(), elf32_m68hc11_size_stubs(), elf64_alpha_relax_opt_call(), elf64_alpha_relax_section(), elf_bfd_discard_info(), elf_bfd_final_link(), elf_gc_mark(), elf_gc_smash_unused_vtentry_relocs(), elf_gc_sweep(), elf_link_add_object_symbols(), elf_link_input_bfd(), elfNN_ia64_relax_section(), ip2k_elf_relax_section(), m68hc11_elf_relax_section(), mmix_elf_relax_section(), mn10200_elf_get_relocated_section_contents(), mn10200_elf_relax_section(), mn10300_elf_get_relocated_section_contents(), mn10300_elf_relax_section(), msp430_elf_relax_section(), opd_entry_value(), ppc64_elf_edit_opd(), ppc64_elf_edit_toc(), ppc64_elf_size_stubs(), ppc64_elf_tls_optimize(), ppc_elf_relax_section(), ppc_elf_tls_optimize(), retrieve_internal_relocs(), sh_elf64_get_relocated_section_contents(), sh_elf_get_relocated_section_contents(), sh_elf_relax_delete_bytes(), sh_elf_relax_section(), toc_adjusting_stub_needed(), and v850_elf_relax_section().
| unsigned long _bfd_elf_link_renumber_dynsyms | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 731 of file elflink.c.
References elf_link_local_dynamic_entry::dynindx, elf_backend_data::elf_backend_omit_section_dynsym, elf_hash_table, elf_link_hash_traverse, elf_link_renumber_hash_table_dynsyms(), elf_link_renumber_local_hash_table_dynsyms(), elf_section_data, bfd_section::flags, get_elf_backend_data, bfd_section::next, elf_link_local_dynamic_entry::next, p, SEC_ALLOC, SEC_EXCLUDE, bfd::sections, and bfd_link_info::shared.
Referenced by bfd_elf_size_dynamic_sections().
| bfd_boolean _bfd_elf_link_sec_merge_syms | ( | struct elf_link_hash_entry * | , | |
| void * | ||||
| ) |
Definition at line 2505 of file elflink.c.
References _bfd_merged_section_offset(), bfd_link_hash_defined, bfd_link_hash_defweak, bfd_link_hash_warning, bfd_link_hash_entry::def, ELF_INFO_TYPE_MERGE, elf_section_data, flags, bfd_link_hash_entry::i, if(), output_bfd, elf_link_hash_entry::root, sec, bfd_section::sec_info_type, SEC_MERGE, TRUE, bfd_link_hash_entry::type, and bfd_link_hash_entry::u.
Referenced by bfd_elf_final_link(), and elf_bfd_final_link().
| bfd_boolean _bfd_elf_link_size_reloc_section | ( | bfd * | , | |
| Elf_Internal_Shdr * | , | |||
| asection * | ||||
| ) |
Definition at line 2114 of file elflink.c.
References bfd_zalloc(), bfd_zmalloc(), elf_internal_shdr::contents, elf_section_data, FALSE, NULL, p, bfd_section::reloc_count, elf_internal_shdr::sh_entsize, elf_internal_shdr::sh_size, and TRUE.
Referenced by bfd_elf_final_link(), and elf_bfd_final_link().
| struct elf_segment_map* _bfd_elf_make_dynamic_segment | ( | bfd * | , | |
| asection * | ||||
| ) | [read] |
Definition at line 3378 of file elf.c.
References bfd_zalloc(), elf_segment_map::count, elf_segment_map::next, NULL, elf_segment_map::p_type, PT_DYNAMIC, and elf_segment_map::sections.
Referenced by map_sections_to_segments().
Definition at line 6294 of file elf.c.
References bfd_zalloc(), NULL, elf_symbol_type::symbol, and bfd_symbol::the_bfd.
| bfd_boolean _bfd_elf_make_section_from_phdr | ( | bfd * | , | |
| Elf_Internal_Phdr * | , | |||
| int | , | |||
| const char * | ||||
| ) |
Definition at line 2285 of file elf.c.
References bfd_section::alignment_power, bfd_alloc(), bfd_log2(), bfd_make_section(), FALSE, bfd_section::filepos, bfd_section::flags, len, bfd_section::lma, memcpy, newsect, NULL, elf_internal_phdr::p_align, elf_internal_phdr::p_filesz, elf_internal_phdr::p_flags, elf_internal_phdr::p_memsz, elf_internal_phdr::p_offset, elf_internal_phdr::p_paddr, elf_internal_phdr::p_type, elf_internal_phdr::p_vaddr, PF_W, PF_X, PT_LOAD, SEC_ALLOC, SEC_CODE, SEC_HAS_CONTENTS, SEC_LOAD, SEC_READONLY, bfd_section::size, split, sprintf(), strlen(), TRUE, and bfd_section::vma.
Referenced by bfd_section_from_phdr().
| bfd_boolean _bfd_elf_make_section_from_shdr | ( | bfd * | , | |
| Elf_Internal_Shdr * | , | |||
| const char * | ||||
| ) |
Definition at line 681 of file elf.c.
References ARRAY_SIZE, BFD_ASSERT, bfd_get_section_name, bfd_log2(), bfd_make_section_anyway(), elf_internal_shdr::bfd_section, bfd_set_section_alignment, bfd_set_section_flags(), bfd_set_section_size(), bfd_set_section_vma, elf_backend_data::elf_backend_section_flags, elf_elfheader, elf_next_in_group, elf_section_data, elf_section_flags, elf_section_type, elf_tdata, bfd_section::entsize, FALSE, bfd_section::filepos, flags, get_elf_backend_data, i, bfd_section::lma, newsect, NULL, elf_internal_phdr::p_filesz, elf_internal_phdr::p_memsz, elf_internal_phdr::p_offset, elf_internal_phdr::p_paddr, elf_internal_phdr::p_type, elf_internal_phdr::p_vaddr, PT_LOAD, SEC_ALLOC, SEC_CODE, SEC_DATA, SEC_DEBUGGING, SEC_EXCLUDE, SEC_GROUP, SEC_HAS_CONTENTS, SEC_LINK_DUPLICATES_DISCARD, SEC_LINK_ONCE, SEC_LOAD, SEC_MERGE, SEC_NO_FLAGS, SEC_READONLY, SEC_STRINGS, SEC_THREAD_LOCAL, setup_group(), elf_internal_shdr::sh_addr, elf_internal_shdr::sh_addralign, elf_internal_shdr::sh_entsize, elf_internal_shdr::sh_flags, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_size, elf_internal_shdr::sh_type, SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP, SHF_MERGE, SHF_STRINGS, SHF_TLS, SHF_WRITE, SHT_GROUP, SHT_NOBITS, strcmp(), strlen(), strncmp(), and TRUE.
Referenced by _bfd_mips_elf_section_from_shdr(), bfd_section_from_shdr(), elf64_alpha_section_from_shdr(), elf64_hppa_section_from_shdr(), elf64_x86_64_section_from_shdr(), elfNN_ia64_section_from_shdr(), i370_elf_section_from_shdr(), ppc_elf_section_from_shdr(), sh64_backend_section_from_shdr(), and v850_elf_section_from_shdr().
| bfd_boolean _bfd_elf_maybe_strip_eh_frame_hdr | ( | struct bfd_link_info * | ) |
Definition at line 864 of file elf-eh-frame.c.
References _bfd_strip_section_from_output(), bfd_get_section_by_name(), bfd_is_abs_section, bfd_link_info::eh_frame_hdr, elf_link_hash_table::eh_info, elf_hash_table, eh_frame_hdr_info::hdr_sec, bfd_link_info::input_bfds, bfd::link_next, NULL, o, bfd_section::output_section, bfd_section::size, eh_frame_hdr_info::table, and TRUE.
Referenced by bfd_elf_size_dynamic_sections().
| bfd_boolean _bfd_elf_merge_sections | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 941 of file elf.c.
References _bfd_add_merge_section(), _bfd_merge_sections(), bfd_is_abs_section, DYNAMIC, elf_hash_table, ELF_INFO_TYPE_MERGE, elf_section_data, FALSE, bfd_section::flags, bfd::flags, bfd_link_info::hash, bfd_link_info::input_bfds, is_elf_hash_table, bfd::link_next, merge_sections_remove_hook(), bfd_section::next, NULL, bfd_section::output_section, sec, bfd_elf_section_data::sec_info, bfd_section::sec_info_type, SEC_MERGE, bfd::sections, and TRUE.
| bfd_boolean _bfd_elf_merge_symbol | ( | bfd * | , | |
| struct bfd_link_info * | , | |||
| const char * | , | |||
| Elf_Internal_Sym * | , | |||
| asection ** | , | |||
| bfd_vma * | , | |||
| unsigned int * | , | |||
| struct elf_link_hash_entry ** | , | |||
| bfd_boolean * | , | |||
| bfd_boolean * | , | |||
| bfd_boolean * | , | |||
| bfd_boolean * | ||||
| ) |
Definition at line 783 of file elflink.c.
References _, _bfd_error_handler, BFD_ASSERT, bfd_com_section_ptr, bfd_elf_link_record_dynamic_symbol(), bfd_error_bad_value, bfd_is_com_section, bfd_is_und_section, bfd_link_hash_common, bfd_link_hash_defined, bfd_link_hash_defweak, bfd_link_hash_indirect, bfd_link_hash_new, bfd_link_hash_undefined, bfd_link_hash_undefweak, bfd_link_hash_warning, bfd_set_error(), bfd_und_section_ptr, bfd_wrapped_link_hash_lookup(), bind(), BSF_DYNAMIC, bfd_link_hash_entry::c, bfd_link_info::callbacks, bfd_link_hash_table::creator, bfd_link_hash_entry::def, elf_link_hash_entry::def_dynamic, elf_link_hash_entry::def_regular, DYNAMIC, elf_link_hash_entry::dynamic_def, elf_link_hash_entry::dynamic_weak, elf_backend_data::elf_backend_copy_indirect_symbol, elf_hash_table, elf_link_hash_lookup, ELF_ST_BIND, ELF_ST_TYPE, ELF_ST_VISIBILITY, FALSE, bfd_section::flags, bfd::flags, bfd_symbol::flags, get_elf_backend_data, h, bfd_link_info::hash, bfd_link_hash_entry::i, if(), ld_set_ndx(), bfd_link_callbacks::multiple_common, elf_link_hash_entry::non_elf, NULL, elf_link_hash_entry::other, elf_link_hash_entry::ref_dynamic, elf_link_hash_entry::root, bfd_link_hash_entry::root, sec, SEC_ALLOC, SEC_LOAD, elf_link_hash_entry::size, elf_internal_sym::st_info, elf_internal_sym::st_other, elf_internal_sym::st_size, STB_WEAK, bfd_hash_entry::string, STT_FUNC, STT_TLS, STV_DEFAULT, STV_PROTECTED, bfd_section::symbol, TRUE, bfd_link_hash_entry::type, elf_link_hash_entry::type, bfd_link_hash_entry::u, bfd_link_hash_entry::undef, bfd_link_hash_table::undefs_tail, elf_link_hash_entry::verinfo, elf_link_hash_entry::vertree, and bfd::xvec.
Referenced by _bfd_elf_add_default_symbol(), and elf_link_add_object_symbols().
Definition at line 2234 of file elf.c.
References _bfd_elf_get_sec_type_attr(), bfd_elf_special_section::attr, bfd_zalloc(), elf_section_flags, elf_section_type, FALSE, get_elf_backend_data, if(), bfd_section::name, NULL, SHT_NULL, TRUE, bfd_elf_special_section::type, bfd_section::use_rela_p, and bfd_section::used_by_bfd.
Referenced by _bfd_mips_elf_new_section_hook(), elf32_sparc_new_section_hook(), elf_xtensa_new_section_hook(), mmix_elf_new_section_hook(), ppc64_elf_new_section_hook(), sh64_elf_new_section_hook(), and sparc64_elf_new_section_hook().
| void _bfd_elf_no_info_to_howto | ( | bfd * | , | |
| arelent * | , | |||
| Elf_Internal_Rela * | ||||
| ) |
Definition at line 1006 of file elf.c.
References _, _bfd_elf_section_from_bfd_section(), _bfd_elf_slurp_version_tables(), a, bfd_elf_string_from_elf_section(), bfd_fprintf_vma(), bfd_get_section_by_name(), bfd_log2(), bfd_malloc_and_get_section(), buf, c, elf_internal_dyn::d_tag, elf_internal_dyn::d_un, elf_internal_dyn::d_val, DT_AUDIT, DT_AUXILIARY, DT_BIND_NOW, DT_CHECKSUM, DT_CONFIG, DT_DEBUG, DT_DEPAUDIT, DT_FEATURE, DT_FILTER, DT_FINI, DT_FINI_ARRAY, DT_FINI_ARRAYSZ, DT_FLAGS, DT_FLAGS_1, DT_HASH, DT_INIT, DT_INIT_ARRAY, DT_INIT_ARRAYSZ, DT_JMPREL, DT_MOVEENT, DT_MOVESZ, DT_MOVETAB, DT_NEEDED, DT_NULL, DT_PLTGOT, DT_PLTPAD, DT_PLTPADSZ, DT_PLTREL, DT_PLTRELSZ, DT_POSFLAG_1, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ, DT_REL, DT_RELA, DT_RELACOUNT, DT_RELAENT, DT_RELASZ, DT_RELCOUNT, DT_RELENT, DT_RELSZ, DT_RPATH, DT_RUNPATH, DT_SONAME, DT_STRSZ, DT_STRTAB, DT_SYMBOLIC, DT_SYMENT, DT_SYMINENT, DT_SYMINFO, DT_SYMINSZ, DT_SYMTAB, DT_TEXTREL, DT_USED, DT_VERDEF, DT_VERDEFNUM, DT_VERNEED, DT_VERNEEDNUM, DT_VERSYM, elf_dynverdef, elf_dynverref, elf_elfheader, elf_elfsections, elf_tdata, f, FALSE, fprintf(), free(), get_elf_backend_data, i, NULL, p, elf_internal_phdr::p_align, elf_internal_phdr::p_filesz, elf_internal_phdr::p_flags, elf_internal_phdr::p_memsz, elf_internal_phdr::p_offset, elf_internal_phdr::p_paddr, elf_internal_phdr::p_type, elf_internal_phdr::p_vaddr, PF_R, PF_W, PF_X, pt, PT_DYNAMIC, PT_GNU_EH_FRAME, PT_GNU_RELRO, PT_GNU_STACK, PT_INTERP, PT_LOAD, PT_NOTE, PT_NULL, PT_PHDR, PT_SHLIB, PT_TLS, s, bfd_section::size, sprintf(), TRUE, elf_internal_verdef::vd_auxptr, elf_internal_verdef::vd_flags, elf_internal_verdef::vd_hash, elf_internal_verdef::vd_ndx, elf_internal_verdef::vd_nextdef, elf_internal_verdef::vd_nodename, elf_internal_verdaux::vda_nextptr, elf_internal_verdaux::vda_nodename, elf_internal_verneed::vn_auxptr, elf_internal_verneed::vn_filename, elf_internal_verneed::vn_nextref, elf_internal_vernaux::vna_flags, elf_internal_vernaux::vna_hash, elf_internal_vernaux::vna_nextptr, elf_internal_vernaux::vna_nodename, elf_internal_vernaux::vna_other, and void.
Referenced by _bfd_m68hc11_elf_print_private_bfd_data(), _bfd_mips_elf_print_private_bfd_data(), cris_elf_print_private_bfd_data(), elf32_m68k_print_private_bfd_data(), elf32_vax_print_private_bfd_data(), elf_xtensa_print_private_bfd_data(), elfNN_ia64_print_private_bfd_data(), frv_elf_print_private_bfd_data(), iq2000_elf_print_private_bfd_data(), m32r_elf_print_private_bfd_data(), and v850_elf_print_private_bfd_data().
| bfd_vma _bfd_elf_rel_local_sym | ( | bfd * | , | |
| Elf_Internal_Sym * | , | |||
| asection ** | , | |||
| bfd_vma | ||||
| ) |
Definition at line 7839 of file elf.c.
References _bfd_merged_section_offset(), ELF_INFO_TYPE_MERGE, elf_section_data, sec, bfd_section::sec_info_type, and elf_internal_sym::st_value.
Referenced by elf32_d10v_relocate_section(), elf_i386_relocate_section(), mips_elf_calculate_relocation(), sh_elf64_relocate_section(), and sh_elf_relocate_section().
| bfd_reloc_status_type _bfd_elf_rel_vtable_reloc_fn | ( | bfd * | , | |
| arelent * | , | |||
| struct bfd_symbol * | , | |||
| void * | , | |||
| asection * | , | |||
| bfd * | , | |||
| char ** | ||||
| ) |
| bfd_vma _bfd_elf_rela_local_sym | ( | bfd * | , | |
| Elf_Internal_Sym * | , | |||
| asection ** | , | |||
| Elf_Internal_Rela * | ||||
| ) |
Definition at line 7802 of file elf.c.
References _bfd_merged_section_offset(), ELF_INFO_TYPE_MERGE, elf_section_data, ELF_ST_TYPE, bfd_section::flags, bfd_section::kept_section, bfd_section::output_offset, bfd_section::output_section, elf_internal_rela::r_addend, sec, SEC_EXCLUDE, bfd_section::sec_info_type, SEC_MERGE, elf_internal_sym::st_info, elf_internal_sym::st_value, STT_SECTION, and bfd_section::vma.
Referenced by cris_elf_relocate_section(), elf32_avr_relocate_section(), elf32_frv_relocate_section(), elf32_h8_relocate_section(), elf32_hppa_relocate_section(), elf32_i860_relocate_section(), elf32_msp430_relocate_section(), elf32_sparc_relocate_section(), elf64_alpha_relocate_section(), elf64_x86_64_relocate_section(), elf_m68k_relocate_section(), elf_s390_relocate_section(), elf_vax_relocate_section(), elf_xtensa_relocate_section(), elfNN_ia64_relocate_section(), fr30_elf_relocate_section(), i370_elf_relocate_section(), m32r_elf_relocate_section(), mcore_elf_relocate_section(), mmix_elf_relocate_section(), mn10200_elf_relocate_section(), mn10300_elf_relax_section(), mn10300_elf_relocate_section(), openrisc_elf_relocate_section(), ppc64_elf_relocate_section(), ppc_elf_relocate_section(), sh_elf64_relocate_section(), sh_elf_relocate_section(), sparc64_elf_relocate_section(), v850_elf_relocate_section(), and xstormy16_elf_relocate_section().
| enum elf_reloc_type_class _bfd_elf_reloc_type_class | ( | const Elf_Internal_Rela * | ) |
| void _bfd_elf_section_already_linked | ( | bfd * | , | |
| struct bfd_section * | ||||
| ) |
Definition at line 9629 of file elflink.c.
References _, _bfd_error_handler, abort, bfd_abs_section_ptr, bfd_coff_get_comdat_section(), bfd_elf_match_symbols_in_sections(), bfd_get_section_name, bfd_malloc_and_get_section(), bfd_section_already_linked_table_insert(), bfd_section_already_linked_table_lookup(), elf_next_in_group, elf_sec_group, bfd_section_already_linked_hash_entry::entry, first, bfd_section::flags, flags, free(), bfd_section::kept_section, memcmp, bfd_section::name, bfd_section_already_linked::next, NULL, bfd_section::output_section, bfd_section::owner, p, s, bfd_section_already_linked::sec, SEC_GROUP, SEC_LINK_DUPLICATES, SEC_LINK_DUPLICATES_DISCARD, SEC_LINK_DUPLICATES_ONE_ONLY, SEC_LINK_DUPLICATES_SAME_CONTENTS, SEC_LINK_DUPLICATES_SAME_SIZE, SEC_LINK_ONCE, bfd_section::size, strchr, strcmp(), and strncmp().
Definition at line 4788 of file elf.c.
References bfd_error_nonrepresentable_section, bfd_is_abs_section, bfd_is_com_section, bfd_is_und_section, elf_internal_shdr::bfd_section, bfd_set_error(), elf_backend_data::elf_backend_section_from_bfd_section, elf_elfsections, elf_numsections, elf_section_data, get_elf_backend_data, index(), NULL, SHN_ABS, SHN_COMMON, and SHN_UNDEF.
Referenced by _bfd_elf_print_private_bfd_data(), adjust_all_relocations(), assign_section_numbers(), bfd_elf_get_bfd_needed_list(), bfd_elf_match_symbols_in_sections(), elf32_h8_relax_delete_bytes(), elf32_h8_symbol_address_p(), elf64_hppa_check_relocs(), elf64_hppa_finish_dynamic_symbol(), elf_fixup_link_order(), elf_get_linked_section_vma(), elf_link_add_object_symbols(), elf_link_input_bfd(), elf_link_output_extsym(), m68hc11_elf_relax_delete_bytes(), mn10200_elf_relax_delete_bytes(), mn10200_elf_symbol_address_p(), mn10300_elf_relax_delete_bytes(), mn10300_elf_relax_section(), mn10300_elf_symbol_address_p(), msp430_elf_relax_delete_bytes(), msp430_elf_symbol_address_p(), relax_section_symbols(), sh_elf_relax_delete_bytes(), sh_elf_relax_section(), swap_out_syms(), and v850_elf_relax_delete_bytes().
Definition at line 7855 of file elf.c.
References _bfd_elf_eh_frame_section_offset(), _bfd_stab_section_offset(), ELF_INFO_TYPE_EH_FRAME, ELF_INFO_TYPE_STABS, elf_section_data, and bfd_section::sec_info_type.
Referenced by _frvfdpic_emit_got_relocs_plt_entries(), cris_elf_relocate_section(), elf32_frv_relocate_section(), elf32_hppa_relocate_section(), elf32_sparc_relocate_section(), elf64_alpha_emit_dynrel(), elf64_x86_64_relocate_section(), elf_i386_relocate_section(), elf_link_input_bfd(), elf_m68k_relocate_section(), elf_s390_relocate_section(), elf_vax_relocate_section(), elf_xtensa_relocate_section(), elfNN_ia64_install_dyn_reloc(), i370_elf_relocate_section(), m32r_elf_relocate_section(), mips_elf_create_dynamic_relocation(), mn10300_elf_final_link_relocate(), ppc64_elf_relocate_section(), ppc_elf_relocate_section(), sh_elf64_relocate_section(), sh_elf_relocate_section(), and sparc64_elf_relocate_section().
| bfd_boolean _bfd_elf_set_arch_mach | ( | bfd * | , | |
| enum | bfd_architecture, | |||
| unsigned | long | |||
| ) |
Definition at line 6355 of file elf.c.
References bfd_arch_unknown, bfd_default_set_arch_mach(), FALSE, and get_elf_backend_data.
| bfd_boolean _bfd_elf_set_section_contents | ( | bfd * | , | |
| sec_ptr | , | |||
| const void * | , | |||
| file_ptr | , | |||
| bfd_size_type | ||||
| ) |
Definition at line 6520 of file elf.c.
References _bfd_elf_compute_section_file_positions(), bfd_bwrite(), bfd_seek(), elf_section_data, FALSE, NULL, bfd::output_has_begun, pos(), SEEK_SET, elf_internal_shdr::sh_offset, and TRUE.
Referenced by _bfd_mips_elf_set_section_contents().
| bfd_boolean _bfd_elf_setup_group_pointers | ( | bfd * | ) |
Definition at line 627 of file elf.c.
References _, bfd_elf_string_from_elf_section(), elf_internal_shdr::bfd_section, elf_internal_shdr::contents, elf_elfheader, elf_sec_group, elf_tdata, FALSE, i, idx, int, bfd_section::name, result, elf_internal_shdr::sh_name, elf_internal_shdr::sh_size, elf_internal_shdr::sh_type, elf_internal_group::shdr, SHT_REL, SHT_RELA, bfd_section::size, TRUE, and while().
Referenced by elf_object_p().
| int _bfd_elf_sizeof_headers | ( | bfd * | , | |
| bfd_boolean | ||||
| ) |
Definition at line 6509 of file elf.c.
References get_elf_backend_data, get_program_header_size(), and ret.
| bfd_boolean _bfd_elf_slurp_version_tables | ( | bfd * | , | |
| bfd_boolean | ||||
| ) |
Definition at line 6049 of file elf.c.
References _bfd_elf_swap_verdaux_in(), _bfd_elf_swap_verdef_in(), _bfd_elf_swap_vernaux_in(), _bfd_elf_swap_verneed_in(), bfd_alloc(), bfd_bread(), bfd_elf_get_dt_soname(), bfd_elf_string_from_elf_section(), bfd_malloc(), bfd_seek(), bfd_zalloc(), contents, elf_dynverdef, elf_dynverref, elf_tdata, FALSE, free(), i, memcpy, NULL, SEEK_SET, elf_internal_shdr::sh_info, elf_internal_shdr::sh_link, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_size, TRUE, unsigned, elf_internal_verdef::vd_aux, elf_internal_verdef::vd_auxptr, elf_internal_verdef::vd_bfd, elf_internal_verdef::vd_cnt, elf_internal_verdef::vd_flags, elf_internal_verdef::vd_ndx, elf_internal_verdef::vd_next, elf_internal_verdef::vd_nextdef, elf_internal_verdef::vd_nodename, elf_internal_verdef::vd_version, elf_internal_verdaux::vda_name, elf_internal_verdaux::vda_next, elf_internal_verdaux::vda_nextptr, elf_internal_verdaux::vda_nodename, VER_DEF_CURRENT, VERSYM_VERSION, elf_internal_verneed::vn_aux, elf_internal_verneed::vn_auxptr, elf_internal_verneed::vn_bfd, elf_internal_verneed::vn_cnt, elf_internal_verneed::vn_file, elf_internal_verneed::vn_filename, elf_internal_verneed::vn_next, elf_internal_verneed::vn_nextref, elf_internal_vernaux::vna_name, elf_internal_vernaux::vna_next, elf_internal_vernaux::vna_nextptr, elf_internal_vernaux::vna_nodename, and elf_internal_vernaux::vna_other.
Referenced by _bfd_elf_print_private_bfd_data(), elf_link_add_object_symbols(), and elf_slurp_symbol_table().
| struct bfd_strtab_hash* _bfd_elf_stringtab_init | ( | void | ) | [read] |
Definition at line 1693 of file elf.c.
References _bfd_stringtab_add(), _bfd_stringtab_free(), _bfd_stringtab_init(), BFD_ASSERT, FALSE, NULL, ret, and TRUE.
Referenced by bfd_elf_final_link(), and swap_out_syms().
| bfd_size_type _bfd_elf_strtab_add | ( | struct elf_strtab_hash * | , | |
| const char * | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 142 of file elf-strtab.c.
References elf_strtab_hash::alloced, elf_strtab_hash::array, BFD_ASSERT, bfd_hash_lookup(), bfd_realloc(), elf_strtab_hash_entry::index, elf_strtab_hash_entry::len, NULL, elf_strtab_hash_entry::refcount, elf_strtab_hash::sec_size, elf_strtab_hash::size, strlen(), elf_strtab_hash::table, TRUE, and elf_strtab_hash_entry::u.
Referenced by _bfd_elf_init_reloc_shdr(), assign_section_numbers(), bfd_elf_link_record_dynamic_symbol(), bfd_elf_link_record_local_dynamic_symbol(), bfd_elf_size_dynamic_sections(), elf_add_dt_needed_tag(), elf_fake_sections(), elf_link_add_object_symbols(), prep_headers(), and sparc64_elf_size_dynamic_sections().
| void _bfd_elf_strtab_addref | ( | struct elf_strtab_hash * | , | |
| bfd_size_type | ||||
| ) |
Definition at line 182 of file elf-strtab.c.
References elf_strtab_hash::array, BFD_ASSERT, elf_strtab_hash_entry::refcount, elf_strtab_hash::sec_size, and size.
Referenced by assign_section_numbers(), and bfd_elf_size_dynamic_sections().
| void _bfd_elf_strtab_clear_all_refs | ( | struct elf_strtab_hash * | ) |
Definition at line 203 of file elf-strtab.c.
References elf_strtab_hash::array, idx, elf_strtab_hash_entry::refcount, and elf_strtab_hash::size.
Referenced by assign_section_numbers().
| void _bfd_elf_strtab_delref | ( | struct elf_strtab_hash * | , | |
| bfd_size_type | ||||
| ) |
Definition at line 192 of file elf-strtab.c.
References elf_strtab_hash::array, BFD_ASSERT, elf_strtab_hash_entry::refcount, elf_strtab_hash::sec_size, and size.
Referenced by _bfd_elf_link_hash_hide_symbol(), elf32_hppa_hide_symbol(), elf64_hppa_mark_milli_and_exported_functions(), elf_add_dt_needed_tag(), elf_cris_discard_excess_program_dynamics(), and elf_link_add_object_symbols().
| bfd_boolean _bfd_elf_strtab_emit | ( | bfd * | , | |
| struct elf_strtab_hash * | ||||
| ) |
Referenced by _bfd_elf_write_object_contents(), bfd_elf_final_link(), and elf_bfd_final_link().
| void _bfd_elf_strtab_finalize | ( | struct elf_strtab_hash * | ) |
Definition at line 302 of file elf-strtab.c.
References a, elf_strtab_hash::array, bfd_malloc(), free(), i, elf_strtab_hash_entry::index, is_suffix(), elf_strtab_hash_entry::len, NULL, qsort(), elf_strtab_hash_entry::refcount, elf_strtab_hash::sec_size, elf_strtab_hash::size, size, strrevcmp(), elf_strtab_hash_entry::suffix, and elf_strtab_hash_entry::u.
Referenced by assign_section_numbers(), and elf_finalize_dynstr().
| void _bfd_elf_strtab_free | ( | struct elf_strtab_hash * | ) |
Definition at line 131 of file elf-strtab.c.
References elf_strtab_hash::array, bfd_hash_table_free(), free(), and elf_strtab_hash::table.
Referenced by _bfd_elf_close_and_cleanup().
| struct elf_strtab_hash* _bfd_elf_strtab_init | ( | void | ) | [read] |
Definition at line 97 of file elf-strtab.c.
References elf_strtab_hash::alloced, elf_strtab_hash::array, bfd_hash_table_init(), bfd_malloc(), elf_strtab_hash_newfunc(), free(), NULL, elf_strtab_hash::sec_size, elf_strtab_hash::size, and elf_strtab_hash::table.
Referenced by _bfd_elf_link_create_dynstrtab(), bfd_elf_link_record_dynamic_symbol(), bfd_elf_link_record_local_dynamic_symbol(), and prep_headers().
| bfd_size_type _bfd_elf_strtab_offset | ( | struct elf_strtab_hash * | , | |
| bfd_size_type | ||||
| ) |
Definition at line 218 of file elf-strtab.c.
References elf_strtab_hash::array, BFD_ASSERT, elf_strtab_hash_entry::index, elf_strtab_hash_entry::refcount, elf_strtab_hash::sec_size, size, and elf_strtab_hash_entry::u.
Referenced by assign_section_numbers(), elf_adjust_dynstr_offsets(), and elf_finalize_dynstr().
| bfd_size_type _bfd_elf_strtab_size | ( | struct elf_strtab_hash * | ) |
Definition at line 212 of file elf-strtab.c.
References elf_strtab_hash::sec_size, and elf_strtab_hash::size.
Referenced by _bfd_elf_compute_section_file_positions(), _bfd_mips_elf_finish_dynamic_sections(), assign_section_numbers(), bfd_elf_size_dynamic_sections(), elf_add_dt_needed_tag(), elf_finalize_dynstr(), and elf_link_add_object_symbols().
| void _bfd_elf_swap_verdaux_in | ( | bfd * | , | |
| const Elf_External_Verdaux * | , | |||
| Elf_Internal_Verdaux * | ||||
| ) |
Definition at line 93 of file elf.c.
References H_GET_32, elf_internal_verdaux::vda_name, Elf_External_Verdaux::vda_name, Elf_External_Verdaux::vda_next, and elf_internal_verdaux::vda_next.
Referenced by _bfd_elf_slurp_version_tables(), and elf_finalize_dynstr().
| void _bfd_elf_swap_verdaux_out | ( | bfd * | , | |
| const Elf_Internal_Verdaux * | , | |||
| Elf_External_Verdaux * | ||||
| ) |
Definition at line 104 of file elf.c.
References H_PUT_32, elf_internal_verdaux::vda_name, Elf_External_Verdaux::vda_name, Elf_External_Verdaux::vda_next, and elf_internal_verdaux::vda_next.
Referenced by bfd_elf_size_dynamic_sections(), and elf_finalize_dynstr().
| void _bfd_elf_swap_verdef_in | ( | bfd * | , | |
| const Elf_External_Verdef * | , | |||
| Elf_Internal_Verdef * | ||||
| ) |
Definition at line 61 of file elf.c.
References H_GET_16, H_GET_32, elf_internal_verdef::vd_aux, Elf_External_Verdef::vd_aux, elf_internal_verdef::vd_cnt, Elf_External_Verdef::vd_cnt, elf_internal_verdef::vd_flags, Elf_External_Verdef::vd_flags, Elf_External_Verdef::vd_hash, elf_internal_verdef::vd_hash, elf_internal_verdef::vd_ndx, Elf_External_Verdef::vd_ndx, Elf_External_Verdef::vd_next, elf_internal_verdef::vd_next, elf_internal_verdef::vd_version, and Elf_External_Verdef::vd_version.
Referenced by _bfd_elf_slurp_version_tables(), and elf_finalize_dynstr().
| void _bfd_elf_swap_verdef_out | ( | bfd * | , | |
| const Elf_Internal_Verdef * | , | |||
| Elf_External_Verdef * | ||||
| ) |
Definition at line 77 of file elf.c.
References H_PUT_16, H_PUT_32, elf_internal_verdef::vd_aux, Elf_External_Verdef::vd_aux, elf_internal_verdef::vd_cnt, Elf_External_Verdef::vd_cnt, elf_internal_verdef::vd_flags, Elf_External_Verdef::vd_flags, Elf_External_Verdef::vd_hash, elf_internal_verdef::vd_hash, elf_internal_verdef::vd_ndx, Elf_External_Verdef::vd_ndx, Elf_External_Verdef::vd_next, elf_internal_verdef::vd_next, elf_internal_verdef::vd_version, and Elf_External_Verdef::vd_version.
Referenced by bfd_elf_size_dynamic_sections().
| void _bfd_elf_swap_vernaux_in | ( | bfd * | , | |
| const Elf_External_Vernaux * | , | |||
| Elf_Internal_Vernaux * | ||||
| ) |
Definition at line 143 of file elf.c.
References H_GET_16, H_GET_32, Elf_External_Vernaux::vna_flags, elf_internal_vernaux::vna_flags, Elf_External_Vernaux::vna_hash, elf_internal_vernaux::vna_hash, elf_internal_vernaux::vna_name, Elf_External_Vernaux::vna_name, elf_internal_vernaux::vna_next, Elf_External_Vernaux::vna_next, elf_internal_vernaux::vna_other, and Elf_External_Vernaux::vna_other.
Referenced by _bfd_elf_slurp_version_tables(), and elf_finalize_dynstr().
| void _bfd_elf_swap_vernaux_out | ( | bfd * | , | |
| const Elf_Internal_Vernaux * | , | |||
| Elf_External_Vernaux * | ||||
| ) |
Definition at line 157 of file elf.c.
References H_PUT_16, H_PUT_32, Elf_External_Vernaux::vna_flags, elf_internal_vernaux::vna_flags, Elf_External_Vernaux::vna_hash, elf_internal_vernaux::vna_hash, elf_internal_vernaux::vna_name, Elf_External_Vernaux::vna_name, elf_internal_vernaux::vna_next, Elf_External_Vernaux::vna_next, elf_internal_vernaux::vna_other, and Elf_External_Vernaux::vna_other.
Referenced by bfd_elf_size_dynamic_sections(), and elf_finalize_dynstr().
| void _bfd_elf_swap_verneed_in | ( | bfd * | , | |
| const Elf_External_Verneed * | , | |||
| Elf_Internal_Verneed * | ||||
| ) |
Definition at line 115 of file elf.c.
References H_GET_16, H_GET_32, Elf_External_Verneed::vn_aux, elf_internal_verneed::vn_aux, Elf_External_Verneed::vn_cnt, elf_internal_verneed::vn_cnt, Elf_External_Verneed::vn_file, elf_internal_verneed::vn_file, elf_internal_verneed::vn_next, Elf_External_Verneed::vn_next, elf_internal_verneed::vn_version, and Elf_External_Verneed::vn_version.
Referenced by _bfd_elf_slurp_version_tables(), and elf_finalize_dynstr().
| void _bfd_elf_swap_verneed_out | ( | bfd * | , | |
| const Elf_Internal_Verneed * | , | |||
| Elf_External_Verneed * | ||||
| ) |
Definition at line 129 of file elf.c.
References H_PUT_16, H_PUT_32, Elf_External_Verneed::vn_aux, elf_internal_verneed::vn_aux, Elf_External_Verneed::vn_cnt, elf_internal_verneed::vn_cnt, Elf_External_Verneed::vn_file, elf_internal_verneed::vn_file, elf_internal_verneed::vn_next, Elf_External_Verneed::vn_next, elf_internal_verneed::vn_version, and Elf_External_Verneed::vn_version.
Referenced by bfd_elf_size_dynamic_sections(), and elf_finalize_dynstr().
| void _bfd_elf_swap_versym_in | ( | bfd * | , | |
| const Elf_External_Versym * | , | |||
| Elf_Internal_Versym * | ||||
| ) |
Definition at line 171 of file elf.c.
References H_GET_16, elf_internal_versym::vs_vers, and Elf_External_Versym::vs_vers.
Referenced by elf_link_add_object_symbols(), elf_link_check_versioned_symbol(), and elf_slurp_symbol_table().
| void _bfd_elf_swap_versym_out | ( | bfd * | , | |
| const Elf_Internal_Versym * | , | |||
| Elf_External_Versym * | ||||
| ) |
Definition at line 181 of file elf.c.
References H_PUT_16, elf_internal_versym::vs_vers, and Elf_External_Versym::vs_vers.
Referenced by elf_link_output_extsym().
Definition at line 4837 of file elf.c.
References _, bfd_asymbol_name, bfd_error_no_symbols, bfd_set_error(), BSF_SECTION_SYM, elf_num_section_syms, elf_section_syms, fflush(), bfd_symbol::flags, flags, fprintf(), bfd_symbol::i, idx, bfd_section::index, indx, bfd_symbol::name, NULL, bfd_section::output_section, bfd_symbol::section, and bfd_symbol::udata.
Referenced by elf_write_relocs(), mips_elf64_write_rel(), mips_elf64_write_rela(), and sparc64_elf_write_relocs().
| bfd_boolean _bfd_elf_symbol_refs_local_p | ( | struct elf_link_hash_entry * | , | |
| struct bfd_link_info * | , | |||
| bfd_boolean | ||||
| ) |
Definition at line 2590 of file elflink.c.
References elf_link_hash_entry::def_regular, elf_link_hash_entry::dynindx, ELF_COMMON_DEF_P, ELF_ST_VISIBILITY, bfd_link_info::executable, FALSE, elf_link_hash_entry::forced_local, NULL, elf_link_hash_entry::other, STT_FUNC, STV_DEFAULT, STV_PROTECTED, bfd_link_info::symbolic, TRUE, and elf_link_hash_entry::type.
Referenced by mips_elf_calculate_relocation().
Definition at line 6553 of file elf.c.
References _, reloc_cache_entry::addend, reloc_cache_entry::address, bfd_error_bad_value, BFD_RELOC_12_PCREL, BFD_RELOC_14, BFD_RELOC_16, BFD_RELOC_16_PCREL, BFD_RELOC_24_PCREL, BFD_RELOC_26, BFD_RELOC_32, BFD_RELOC_32_PCREL, BFD_RELOC_64, BFD_RELOC_64_PCREL, BFD_RELOC_8, BFD_RELOC_8_PCREL, bfd_reloc_code_real_type, bfd_reloc_type_lookup(), bfd_set_error(), reloc_howto_struct::bitsize, fail, FALSE, reloc_cache_entry::howto, reloc_howto_struct::name, reloc_howto_struct::pc_relative, reloc_howto_struct::pcrel_offset, reloc_cache_entry::sym_ptr_ptr, TRUE, and bfd::xvec.
Referenced by elf_write_relocs(), mips_elf64_write_rel(), mips_elf64_write_rela(), and sparc64_elf_write_relocs().
| bfd_boolean _bfd_elf_write_corefile_contents | ( | bfd * | ) |
| bfd_boolean _bfd_elf_write_object_contents | ( | bfd * | ) |
Definition at line 4726 of file elf.c.
References _bfd_elf_assign_file_positions_for_relocs(), _bfd_elf_compute_section_file_positions(), _bfd_elf_strtab_emit(), bfd_bwrite(), bfd_map_over_sections(), bfd_seek(), contents, count, elf_backend_data::elf_backend_final_write_processing, elf_backend_data::elf_backend_section_processing, elf_elfheader, elf_elfsections, elf_numsections, elf_shstrtab, elf_tdata, FALSE, get_elf_backend_data, NULL, bfd::output_has_begun, elf_backend_data::s, SEEK_SET, elf_internal_shdr::sh_size, SHN_HIRESERVE, SHN_LORESERVE, elf_size_info::write_relocs, and elf_size_info::write_shdrs_and_ehdr.
Referenced by _bfd_elf_write_corefile_contents().
| bfd_boolean _bfd_elf_write_section_eh_frame | ( | bfd * | , | |
| struct bfd_link_info * | , | |||
| asection * | , | |||
| bfd_byte * | ||||
| ) |
Definition at line 986 of file elf-eh-frame.c.
References abort, eh_cie_fde::add_augmentation_size, eh_cie_fde::add_fde_encoding, address, alignment, bfd_section::alignment_power, eh_frame_hdr_info::array, eh_frame_hdr_info::array_count, BFD_ASSERT, BFD_FAIL, bfd_get_flavour, bfd_get_section_by_name(), bfd_malloc(), bfd_put_32, bfd_set_section_contents(), bfd_target_elf_flavour, buf, eh_cie_fde::cie, eh_cie_fde::cie_inf, eh_frame_sec_info::count, DW_EH_PE_aligned, DW_EH_PE_datarel, DW_EH_PE_indirect, DW_EH_PE_pcrel, DW_EH_PE_textrel, DYNAMIC, elf_link_hash_table::eh_info, elf_hash_table, ELF_INFO_TYPE_EH_FRAME, elf_section_data, end, eh_frame_sec_info::entry, extra_augmentation_data_bytes(), extra_augmentation_string_bytes(), eh_frame_array_ent::fde, eh_frame_hdr_info::fde_count, eh_cie_fde::fde_encoding, bfd::flags, get_DW_EH_PE_signed, get_DW_EH_PE_width(), get_elf_backend_data, eh_frame_array_ent::initial_loc, bfd_link_info::input_bfds, bfd::link_next, eh_cie_fde::lsda_encoding, eh_cie_fde::lsda_offset, eh_cie_fde::make_relative, memmove, memset, eh_cie_fde::need_lsda_relative, eh_cie_fde::new_offset, NULL, eh_cie_fde::offset, eh_frame_hdr_info::offsets_adjusted, bfd_section::output_offset, bfd_section::output_section, eh_cie_fde::per_encoding_relative, read_value(), eh_cie_fde::removed, bfd_section::sec_info_type, eh_cie_fde::size, bfd_section::size, size_of_output_cie_fde(), skip_leb128(), strlen(), eh_frame_hdr_info::table, TRUE, val, bfd_section::vma, and write_value().
Referenced by elf_link_input_bfd().
| bfd_boolean _bfd_elf_write_section_eh_frame_hdr | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 1344 of file elf-eh-frame.c.
References eh_frame_hdr_info::array, eh_frame_hdr_info::array_count, bfd_get_section_by_name(), bfd_malloc(), bfd_put_32, bfd_set_section_contents(), contents, DW_EH_PE_datarel, DW_EH_PE_omit, DW_EH_PE_sdata4, DW_EH_PE_udata4, EH_FRAME_HDR_SIZE, elf_link_hash_table::eh_info, elf_hash_table, FALSE, eh_frame_array_ent::fde, eh_frame_hdr_info::fde_count, free(), get_elf_backend_data, eh_frame_hdr_info::hdr_sec, i, eh_frame_array_ent::initial_loc, memset, NULL, bfd_section::output_offset, bfd_section::output_section, qsort(), size, bfd_section::size, TRUE, bfd_section::vma, and vma_compare().
Referenced by bfd_elf_final_link(), and elf_bfd_final_link().
Definition at line 6723 of file elf.c.
References bfd_section::alignment_power, bfd_alloc(), bfd_make_section_anyway(), buf, elfcore_make_pid(), elfcore_maybe_make_sect(), FALSE, bfd_section::filepos, bfd_section::flags, len, memcpy, NULL, SEC_HAS_CONTENTS, bfd_section::size, sprintf(), and strlen().
Referenced by cris_elf_grok_prstatus(), elf32_arm_nabi_grok_prstatus(), elf32_hppa_grok_prstatus(), elf32_mips_grok_prstatus(), elf32_shlin_grok_prstatus(), elf64_mips_grok_prstatus(), elf64_x86_64_grok_prstatus(), elf_i386_grok_prstatus(), elf_s390_grok_prstatus(), elf_xtensa_grok_prstatus(), elfcore_make_note_pseudosection(), ppc64_elf_grok_prstatus(), and ppc_elf_grok_prstatus().
Definition at line 6880 of file elf.c.
References bfd_alloc(), end, len, memchr(), memcpy, and NULL.
Referenced by cris_elf_grok_psinfo(), elf32_arm_nabi_grok_psinfo(), elf32_hppa_grok_psinfo(), elf32_mips_grok_psinfo(), elf32_shlin_grok_psinfo(), elf32_sparc_grok_psinfo(), elf64_mips_grok_psinfo(), elf64_x86_64_grok_psinfo(), elf_i386_grok_psinfo(), elf_xtensa_grok_psinfo(), elfcore_grok_netbsd_procinfo(), ppc64_elf_grok_psinfo(), and ppc_elf_grok_psinfo().
| bfd_boolean _sh_elf_set_mach_from_flags | ( | bfd * | ) |
| char* bfd_elf32_core_file_failing_command | ( | bfd * | ) |
| int bfd_elf32_core_file_failing_signal | ( | bfd * | ) |
| const bfd_target* bfd_elf32_core_file_p | ( | bfd * | ) |
| const bfd_target* bfd_elf32_object_p | ( | bfd * | ) |
| void bfd_elf32_swap_dyn_in | ( | bfd * | , | |
| const void * | , | |||
| Elf_Internal_Dyn * | ||||
| ) |
Referenced by _bfd_mn10300_elf_finish_dynamic_sections(), elf32_frvfdpic_finish_dynamic_sections(), elf32_hppa_finish_dynamic_sections(), elf32_sparc_finish_dynamic_sections(), elf_cris_finish_dynamic_sections(), elf_i386_finish_dynamic_sections(), elf_m68k_finish_dynamic_sections(), elf_s390_finish_dynamic_sections(), elf_vax_finish_dynamic_sections(), elf_xtensa_finish_dynamic_sections(), i370_elf_finish_dynamic_sections(), m32r_elf_finish_dynamic_sections(), ppc_elf_finish_dynamic_sections(), and sh_elf_finish_dynamic_sections().
| void bfd_elf32_swap_dyn_out | ( | bfd * | , | |
| const Elf_Internal_Dyn * | , | |||
| void * | ||||
| ) |
Referenced by _bfd_mn10300_elf_finish_dynamic_sections(), elf32_frvfdpic_finish_dynamic_sections(), elf32_hppa_finish_dynamic_sections(), elf32_sparc_finish_dynamic_sections(), elf_cris_finish_dynamic_sections(), elf_i386_finish_dynamic_sections(), elf_m68k_finish_dynamic_sections(), elf_s390_finish_dynamic_sections(), elf_vax_finish_dynamic_sections(), elf_xtensa_finish_dynamic_sections(), i370_elf_finish_dynamic_sections(), m32r_elf_finish_dynamic_sections(), ppc_elf_finish_dynamic_sections(), and sh_elf_finish_dynamic_sections().
| void bfd_elf32_swap_phdr_in | ( | bfd * | , | |
| const Elf32_External_Phdr * | , | |||
| Elf_Internal_Phdr * | ||||
| ) |
| void bfd_elf32_swap_phdr_out | ( | bfd * | , | |
| const Elf_Internal_Phdr * | , | |||
| Elf32_External_Phdr * | ||||
| ) |
| void bfd_elf32_swap_reloc_in | ( | bfd * | , | |
| const bfd_byte * | , | |||
| Elf_Internal_Rela * | ||||
| ) |
Referenced by sort_dynamic_relocs().
| void bfd_elf32_swap_reloc_out | ( | bfd * | , | |
| const Elf_Internal_Rela * | , | |||
| bfd_byte * | ||||
| ) |
| void bfd_elf32_swap_reloca_in | ( | bfd * | , | |
| const bfd_byte * | , | |||
| Elf_Internal_Rela * | ||||
| ) |
Referenced by elf_xtensa_finish_dynamic_sections().
| void bfd_elf32_swap_reloca_out | ( | bfd * | , | |
| const Elf_Internal_Rela * | , | |||
| bfd_byte * | ||||
| ) |
Referenced by _bfd_mn10300_elf_finish_dynamic_symbol(), cris_elf_relocate_section(), elf32_hppa_finish_dynamic_symbol(), elf32_hppa_relocate_section(), elf32_sparc_finish_dynamic_symbol(), elf32_sparc_relocate_section(), elf_cris_finish_dynamic_symbol(), elf_finish_pointer_linker_section(), elf_m68k_finish_dynamic_symbol(), elf_m68k_relocate_section(), elf_s390_finish_dynamic_symbol(), elf_s390_relocate_section(), elf_vax_finish_dynamic_symbol(), elf_vax_relocate_section(), elf_xtensa_finish_dynamic_sections(), elf_xtensa_relocate_section(), elf_xtensa_size_dynamic_sections(), i370_elf_relocate_section(), m32r_elf_finish_dynamic_symbol(), m32r_elf_relocate_section(), mn10300_elf_final_link_relocate(), ppc_elf_finish_dynamic_symbol(), ppc_elf_relocate_section(), sh_elf_finish_dynamic_symbol(), and sh_elf_relocate_section().
| void bfd_elf32_swap_symbol_in | ( | bfd * | , | |
| const void * | , | |||
| const void * | , | |||
| Elf_Internal_Sym * | ||||
| ) |
Referenced by v850_elf_relax_delete_bytes().
| void bfd_elf32_swap_symbol_out | ( | bfd * | , | |
| const Elf_Internal_Sym * | , | |||
| void * | , | |||
| void * | ||||
| ) |
Referenced by i370_elf_finish_dynamic_sections(), and v850_elf_relax_delete_bytes().
| int bfd_elf32_write_out_phdrs | ( | bfd * | , | |
| const Elf_Internal_Phdr * | , | |||
| unsigned | int | |||
| ) |
| bfd_boolean bfd_elf32_write_shdrs_and_ehdr | ( | bfd * | ) |
| char* bfd_elf64_core_file_failing_command | ( | bfd * | ) |
| int bfd_elf64_core_file_failing_signal | ( | bfd * | ) |
| const bfd_target* bfd_elf64_core_file_p | ( | bfd * | ) |
| const bfd_target* bfd_elf64_object_p | ( | bfd * | ) |
| void bfd_elf64_swap_dyn_in | ( | bfd * | , | |
| const void * | , | |||
| Elf_Internal_Dyn * | ||||
| ) |
| void bfd_elf64_swap_dyn_out | ( | bfd * | , | |
| const Elf_Internal_Dyn * | , | |||
| void * | ||||
| ) |
| void bfd_elf64_swap_phdr_in | ( | bfd * | , | |
| const Elf64_External_Phdr * | , | |||
| Elf_Internal_Phdr * | ||||
| ) |
| void bfd_elf64_swap_phdr_out | ( | bfd * | , | |
| const Elf_Internal_Phdr * | , | |||
| Elf64_External_Phdr * | ||||
| ) |
| void bfd_elf64_swap_reloc_in | ( | bfd * | , | |
| const bfd_byte * | , | |||
| Elf_Internal_Rela * | ||||
| ) |
| void bfd_elf64_swap_reloc_out | ( | bfd * | , | |
| const Elf_Internal_Rela * | , | |||
| bfd_byte * | ||||
| ) |
Referenced by elf_s390_relocate_section().
| void bfd_elf64_swap_reloca_in | ( | bfd * | , | |
| const bfd_byte * | , | |||
| Elf_Internal_Rela * | ||||
| ) |
Referenced by sparc64_elf_slurp_one_reloc_table().
| void bfd_elf64_swap_reloca_out | ( | bfd * | , | |
| const Elf_Internal_Rela * | , | |||
| bfd_byte * | ||||
| ) |
Referenced by elf64_alpha_emit_dynrel(), elf64_alpha_finish_dynamic_symbol(), elf64_hppa_finalize_dlt(), elf64_hppa_finalize_dynreloc(), elf64_hppa_finalize_opd(), elf64_hppa_finish_dynamic_symbol(), elf64_x86_64_finish_dynamic_symbol(), elf64_x86_64_relocate_section(), elf_s390_finish_dynamic_symbol(), elf_s390_relocate_section(), ppc64_elf_finish_dynamic_symbol(), ppc64_elf_relocate_section(), ppc_build_one_stub(), sh64_elf64_finish_dynamic_symbol(), sh_elf64_relocate_section(), sparc64_elf_finish_dynamic_symbol(), sparc64_elf_relocate_section(), and sparc64_elf_write_relocs().
| void bfd_elf64_swap_symbol_in | ( | bfd * | , | |
| const void * | , | |||
| const void * | , | |||
| Elf_Internal_Sym * | ||||
| ) |
| void bfd_elf64_swap_symbol_out | ( | bfd * | , | |
| const Elf_Internal_Sym * | , | |||
| void * | , | |||
| void * | ||||
| ) |
| int bfd_elf64_write_out_phdrs | ( | bfd * | , | |
| const Elf_Internal_Phdr * | , | |||
| unsigned | int | |||
| ) |
| bfd_boolean bfd_elf64_write_shdrs_and_ehdr | ( | bfd * | ) |
| bfd_boolean bfd_elf_final_link | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 7767 of file elflink.c.
References _, _bfd_default_link_order(), _bfd_elf_assign_file_position_for_section(), _bfd_elf_assign_file_positions_for_relocs(), _bfd_elf_compute_section_file_positions(), _bfd_elf_link_read_relocs(), _bfd_elf_link_sec_merge_syms(), _bfd_elf_link_size_reloc_section(), _bfd_elf_stringtab_init(), _bfd_elf_strtab_emit(), _bfd_elf_write_section_eh_frame_hdr(), _bfd_stringtab_emit(), _bfd_stringtab_free(), _bfd_stringtab_size(), _bfd_write_stab_strings(), align_power, base, bfd_abs_section_ptr, BFD_ASSERT, bfd_bwrite(), bfd_elf_set_group_contents(), bfd_get_flavour, bfd_get_section_by_name(), bfd_get_section_name, bfd_get_symcount, bfd_indirect_link_order, bfd_link_hash_defined, bfd_link_hash_defweak, bfd_malloc(), bfd_map_over_sections(), bfd_section_from_elf_index(), bfd_section_reloc_link_order, bfd_seek(), bfd_set_section_contents(), bfd_symbol_reloc_link_order, bfd_target_elf_flavour, bfd_und_section_ptr, bfd_zmalloc(), bfd_link_info::combreloc, bfd_section::contents, elf_final_link_info::contents, elf_internal_dyn::d_ptr, elf_internal_dyn::d_tag, elf_internal_dyn::d_un, elf_internal_dyn::d_val, bfd_link_hash_entry::def, dest, DT_FINI, DT_FINI_ARRAY, DT_FINI_ARRAYSZ, DT_HASH, DT_INIT, DT_INIT_ARRAY, DT_INIT_ARRAYSZ, DT_NULL, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ, DT_REL, DT_RELA, DT_RELACOUNT, DT_RELASZ, DT_RELCOUNT, DT_RELSZ, DT_STRTAB, DT_SYMTAB, DT_VERDEF, DT_VERNEED, DT_VERSYM, dynamic, DYNAMIC, elf_link_local_dynamic_entry::dynindx, elf_final_link_info::dynsym_sec, bfd_link_info::eh_frame_hdr, EI_CLASS, elf_backend_data::elf_backend_count_relocs, elf_backend_data::elf_backend_emit_relocs, elf_backend_data::elf_backend_finish_dynamic_sections, elf_backend_data::elf_backend_output_arch_syms, elf_bad_symtab, elf_elfheader, elf_elfsections, elf_fixup_link_order(), elf_hash_table, elf_link_adjust_relocs(), elf_link_flush_output_syms(), elf_link_hash_lookup, elf_link_hash_traverse, elf_link_input_bfd(), elf_link_output_extsym(), elf_link_output_sym(), elf_link_sort_relocs(), elf_numsections, elf_reloc_link_order(), elf_section_data, ELF_ST_INFO, elf_symtab_shndx, elf_tdata, elf_size_info::elfclass, bfd_link_info::emitrelocations, end, elf_final_link_info::external_relocs, elf_final_link_info::external_syms, elf_outext_info::failed, FALSE, elf_outext_info::finfo, bfd_link_info::fini_function, bfd_section::flags, bfd::flags, free(), get_elf_backend_data, h, bfd_link_info::hash, elf_final_link_info::hash_sec, i, elf_final_link_info::indices, bfd_link_order::indirect, indx, elf_final_link_info::info, bfd_link_info::init_function, elf_link_local_dynamic_entry::input_bfd, bfd_link_info::input_bfds, elf_size_info::int_rels_per_ext_rel, elf_final_link_info::internal_relocs, elf_final_link_info::internal_syms, is_elf_hash_table, elf_link_local_dynamic_entry::isym, bfd_link_info::keep_memory, bfd::link_next, bfd_section::linker_mark, elf_outext_info::localsyms, elf_final_link_info::locsym_shndx, elf_size_info::log_file_align, long, bfd_section::next, bfd_link_order::next, elf_link_local_dynamic_entry::next, NULL, NUM_SHDR_ENTRIES, o, bfd_link_order::offset, offset, elf_final_link_info::output_bfd, bfd::output_has_begun, bfd_section::output_offset, bfd_section::output_section, bfd_section::owner, p, bfd_section::rawsize, bfd_elf_section_data::rel_count, bfd_elf_section_data::rel_count2, bfd_elf_section_data::rel_hdr, bfd_elf_section_data::rel_hdr2, bfd_section::reloc_count, bfd_link_info::relocatable, relocs, elf_link_hash_entry::root, s, elf_backend_data::s, sec, SEC_ALLOC, SEC_HAS_CONTENTS, SEC_LINKER_CREATED, SEC_MERGE, SEC_RELOC, SEC_THREAD_LOCAL, elf_final_link_info::sections, bfd::sections, SEEK_SET, elf_internal_shdr::sh_addr, elf_internal_shdr::sh_addralign, elf_internal_shdr::sh_entsize, elf_internal_shdr::sh_flags, elf_internal_shdr::sh_info, elf_internal_shdr::sh_link, elf_internal_shdr::sh_name, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_size, elf_internal_shdr::sh_type, bfd_link_info::shared, SHF_ALLOC, SHN_HIRESERVE, SHN_LORESERVE, SHN_UNDEF, elf_final_link_info::shndxbuf_size, SHT_REL, SHT_RELA, SHT_STRTAB, SHT_SYMTAB, SHT_SYMTAB_SHNDX, bfd_link_order::size, size, bfd_section::size, elf_size_info::sizeof_dyn, elf_size_info::sizeof_rel, elf_size_info::sizeof_rela, elf_size_info::sizeof_sym, elf_internal_sym::st_info, elf_internal_sym::st_name, elf_internal_sym::st_other, elf_internal_sym::st_shndx, elf_internal_sym::st_size, elf_internal_sym::st_value, STB_LOCAL, strcmp(), bfd_link_info::strip, strip_all, STT_SECTION, sub, elf_size_info::swap_dyn_in, elf_size_info::swap_dyn_out, elf_size_info::swap_symbol_out, sym, elf_final_link_info::symbuf, elf_final_link_info::symbuf_count, elf_final_link_info::symbuf_size, elf_final_link_info::symshndxbuf, elf_final_link_info::symstrtab, elf_final_link_info::symver_sec, TRUE, bfd_link_hash_entry::type, bfd_link_order::type, bfd_link_hash_entry::u, bfd_link_order::u, and bfd_section::vma.
Referenced by _bfd_mips_elf_final_link(), bfd_elf_gc_common_final_link(), elf32_hppa_final_link(), elf64_alpha_final_link(), elfNN_ia64_final_link(), and mmix_elf_final_link().
| Elf_Internal_Shdr* bfd_elf_find_section | ( | bfd * | , | |
| char * | ||||
| ) | [read] |
| bfd_boolean bfd_elf_gc_common_final_link | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 9412 of file elflink.c.
References bfd_elf_final_link(), bfd_elf_gc_common_finalize_got_offsets(), and FALSE.
| bfd_boolean bfd_elf_gc_common_finalize_got_offsets | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 9347 of file elflink.c.
References elf_size_info::arch_size, bfd_get_flavour, bfd_target_elf_flavour, elf_bad_symtab, elf_gc_allocate_got_offsets(), elf_hash_table, elf_link_hash_traverse, elf_local_got_refcounts, elf_tdata, FALSE, get_elf_backend_data, alloc_got_off_arg::got_elt_size, elf_backend_data::got_header_size, alloc_got_off_arg::gotoff, bfd_link_info::hash, i, bfd_link_info::input_bfds, is_elf_hash_table, bfd::link_next, elf_backend_data::s, elf_internal_shdr::sh_info, elf_internal_shdr::sh_size, elf_size_info::sizeof_sym, TRUE, and elf_backend_data::want_got_plt.
Referenced by bfd_elf_gc_common_final_link().
| bfd_boolean bfd_elf_gc_record_vtentry | ( | bfd * | , | |
| asection * | , | |||
| struct elf_link_hash_entry * | , | |||
| bfd_vma | ||||
| ) |
Referenced by _bfd_mips_elf_check_relocs(), cris_elf_check_relocs(), elf32_d10v_check_relocs(), elf32_dlx_check_relocs(), elf32_frv_check_relocs(), elf32_hppa_check_relocs(), elf32_m68hc11_check_relocs(), elf32_sparc_check_relocs(), elf64_x86_64_check_relocs(), elf_i386_check_relocs(), elf_m68k_check_relocs(), elf_s390_check_relocs(), elf_vax_check_relocs(), elf_xtensa_check_relocs(), fr30_elf_check_relocs(), iq2000_elf_check_relocs(), m32r_elf_check_relocs(), mcore_elf_check_relocs(), mmix_elf_check_relocs(), mn10300_elf_check_relocs(), openrisc_elf_check_relocs(), ppc64_elf_check_relocs(), ppc_elf_check_relocs(), sh_elf64_check_relocs(), sh_elf_check_relocs(), v850_elf_check_relocs(), and xstormy16_elf_check_relocs().
| bfd_boolean bfd_elf_gc_record_vtinherit | ( | bfd * | , | |
| asection * | , | |||
| struct elf_link_hash_entry * | , | |||
| bfd_vma | ||||
| ) |
Definition at line 9184 of file elflink.c.
References bfd_error_invalid_operation, bfd_link_hash_defined, bfd_link_hash_defweak, bfd_set_error(), bfd_zalloc(), bfd_link_hash_entry::def, elf_bad_symtab, elf_sym_hashes, elf_tdata, FALSE, get_elf_backend_data, long, NULL, elf_link_hash_entry::parent, elf_link_hash_entry::root, elf_backend_data::s, elf_size_info::sizeof_sym, TRUE, bfd_link_hash_entry::type, bfd_link_hash_entry::u, and elf_link_hash_entry::vtable.
Referenced by _bfd_mips_elf_check_relocs(), cris_elf_check_relocs(), elf32_d10v_check_relocs(), elf32_dlx_check_relocs(), elf32_frv_check_relocs(), elf32_hppa_check_relocs(), elf32_m68hc11_check_relocs(), elf32_sparc_check_relocs(), elf64_x86_64_check_relocs(), elf_i386_check_relocs(), elf_m68k_check_relocs(), elf_s390_check_relocs(), elf_vax_check_relocs(), elf_xtensa_check_relocs(), fr30_elf_check_relocs(), iq2000_elf_check_relocs(), m32r_elf_check_relocs(), mcore_elf_check_relocs(), mmix_elf_check_relocs(), mn10300_elf_check_relocs(), openrisc_elf_check_relocs(), ppc64_elf_check_relocs(), ppc_elf_check_relocs(), sh_elf64_check_relocs(), sh_elf_check_relocs(), v850_elf_check_relocs(), and xstormy16_elf_check_relocs().
| bfd_boolean bfd_elf_gc_sections | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 9110 of file elflink.c.
References _, _bfd_elf_gc_mark(), bfd_get_flavour, bfd_target_elf_flavour, elf_gc_mark_dynamic_ref_symbol(), elf_gc_propagate_vtable_entries_used(), elf_gc_smash_unused_vtentry_relocs(), elf_gc_sweep(), elf_hash_table, elf_link_hash_traverse, bfd_link_info::emitrelocations, FALSE, bfd_section::flags, bfd_section::gc_mark, get_elf_backend_data, h, bfd_link_info::hash, bfd_link_info::input_bfds, is_elf_hash_table, bfd::link_next, bfd_section::name, bfd_section::next, NULL, o, ok(), bfd_link_info::relocatable, SEC_KEEP, bfd::sections, bfd_link_info::shared, strcmp(), sub, and TRUE.
| bfd_reloc_status_type bfd_elf_generic_reloc | ( | bfd * | , | |
| arelent * | , | |||
| asymbol * | , | |||
| void * | , | |||
| asection * | , | |||
| bfd * | , | |||
| char ** | ||||
| ) |
Referenced by _bfd_dlx_elf_hi16_reloc(), arc_elf_b22_pcrel(), bfd_elf_d30v_reloc(), bfd_elf_d30v_reloc_21(), cris_elf_pcrel_reloc(), elf32_dlx_relocate16(), elf32_dlx_relocate26(), iq2000_elf_howto_hi16_reloc(), mmix_elf_reloc(), or32_elf_const_reloc(), ppc64_elf_branch_reloc(), ppc64_elf_brtaken_reloc(), ppc64_elf_ha_reloc(), ppc64_elf_sectoff_ha_reloc(), ppc64_elf_sectoff_reloc(), ppc64_elf_toc64_reloc(), ppc64_elf_toc_ha_reloc(), ppc64_elf_toc_reloc(), ppc64_elf_unhandled_reloc(), and ppc_elf_unhandled_reloc().
| Elf_Internal_Sym* bfd_elf_get_elf_syms | ( | bfd * | , | |
| Elf_Internal_Shdr * | , | |||
| size_t | , | |||
| size_t | , | |||
| Elf_Internal_Sym * | , | |||
| void * | , | |||
| Elf_External_Sym_Shndx * | ||||
| ) |
Definition at line 318 of file elf.c.
References bfd_bread(), bfd_malloc(), bfd_seek(), elf_tdata, free(), get_elf_backend_data, NULL, out, pos(), elf_backend_data::s, SEEK_SET, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_size, elf_size_info::sizeof_sym, and elf_size_info::swap_symbol_in.
Referenced by _bfd_elf_gc_mark(), _bfd_mips_relax_section(), bfd_elf_discard_info(), bfd_elf_link_record_local_dynamic_symbol(), bfd_elf_match_symbols_in_sections(), bfd_m68k_elf32_create_embedded_relocs(), bfd_section_from_r_symndx(), elf32_h8_get_relocated_section_contents(), elf32_h8_relax_section(), elf32_m68hc11_size_stubs(), elf64_alpha_relax_section(), elf64_hppa_check_relocs(), elf_bfd_discard_info(), elf_gc_mark(), elf_link_add_object_symbols(), elf_link_check_versioned_symbol(), elf_link_input_bfd(), elf_link_is_defined_archive_symbol(), elf_slurp_symbol_table(), elfNN_ia64_relax_section(), get_local_syms(), get_sym_h(), group_signature(), ip2k_elf_relax_section(), m68hc11_elf_relax_section(), mmix_elf_relax_section(), mn10200_elf_get_relocated_section_contents(), mn10200_elf_relax_section(), mn10300_elf_get_relocated_section_contents(), mn10300_elf_relax_section(), msp430_elf_relax_section(), opd_entry_value(), ppc_elf_relax_section(), ppc_elf_tls_optimize(), retrieve_local_syms(), sh_elf64_get_relocated_section_contents(), sh_elf_get_relocated_section_contents(), sh_elf_relax_section(), v850_elf_relax_section(), and xstormy16_elf_relax_section().
| char* bfd_elf_get_str_section | ( | bfd * | , | |
| unsigned | ||||
| ) |
Referenced by bfd_elf_find_section(), bfd_elf_string_from_elf_section(), elf_object_p(), and ld_get_section_name().
| unsigned long bfd_elf_hash | ( | const char * | ) |
Definition at line 192 of file elf.c.
Referenced by bfd_elf_size_dynamic_sections(), and elf_collect_hash_codes().
| bfd_boolean bfd_elf_is_group_section | ( | bfd * | , | |
| const struct bfd_section * | ||||
| ) |
| bfd_boolean bfd_elf_link_add_symbols | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 4782 of file elflink.c.
References bfd_archive, bfd_error_wrong_format, bfd_get_format, bfd_object, bfd_set_error(), elf_link_add_archive_symbols(), elf_link_add_object_symbols(), and FALSE.
Referenced by elf32_generic_link_add_symbols(), and elf64_generic_link_add_symbols().
| bfd_boolean bfd_elf_link_record_dynamic_symbol | ( | struct bfd_link_info * | , | |
| struct elf_link_hash_entry * | ||||
| ) |
Definition at line 387 of file elflink.c.
References _bfd_elf_strtab_add(), _bfd_elf_strtab_init(), bfd_link_hash_undefined, bfd_link_hash_undefweak, elf_link_hash_entry::dynindx, elf_link_hash_entry::dynstr_index, elf_hash_table, ELF_ST_VISIBILITY, ELF_VER_CHR, FALSE, elf_link_hash_entry::forced_local, indx, NULL, elf_link_hash_entry::other, p, elf_link_hash_entry::root, bfd_link_hash_entry::root, strchr, bfd_hash_entry::string, STV_HIDDEN, STV_INTERNAL, TRUE, and bfd_link_hash_entry::type.
Referenced by _bfd_elf_add_default_symbol(), _bfd_elf_create_dynamic_sections(), _bfd_elf_create_got_section(), _bfd_elf_export_symbol(), _bfd_elf_fix_symbol_flags(), _bfd_elf_link_create_dynamic_sections(), _bfd_elf_merge_symbol(), _bfd_mips_elf_add_symbol_hook(), _bfd_mips_elf_create_dynamic_sections(), _bfd_mn10300_elf_adjust_dynamic_symbol(), _bfd_mn10300_elf_create_got_section(), _frv_create_got_section(), allocate_dynrelocs(), allocate_global_data_opd(), allocate_plt_static(), bfd_elf_record_link_assignment(), bfd_elf_size_dynamic_sections(), cris_elf_check_relocs(), elf32_frv_check_relocs(), elf32_hppa_create_dynamic_sections(), elf64_alpha_create_dynamic_sections(), elf_create_pointer_linker_section(), elf_cris_adjust_dynamic_symbol(), elf_link_add_object_symbols(), elf_m68k_adjust_dynamic_symbol(), elf_m68k_check_relocs(), elf_vax_adjust_dynamic_symbol(), elf_vax_instantiate_got_entries(), func_desc_adjust(), m32r_elf_create_dynamic_sections(), mips_elf_create_got_section(), mips_elf_record_global_got_symbol(), mn10300_elf_check_relocs(), ppc_elf_create_linker_section(), sh64_elf64_adjust_dynamic_symbol(), sh64_elf64_create_dynamic_sections(), sh_elf64_check_relocs(), sh_elf_create_dynamic_sections(), and sparc64_elf_check_relocs().
| int bfd_elf_link_record_local_dynamic_symbol | ( | struct bfd_link_info * | , | |
| bfd * | , | |||
| long | ||||
| ) |
Definition at line 544 of file elflink.c.
References _bfd_elf_strtab_add(), _bfd_elf_strtab_init(), bfd_alloc(), bfd_elf_get_elf_syms(), bfd_elf_string_from_elf_section(), bfd_is_abs_section, bfd_release(), bfd_section_from_elf_index(), elf_link_hash_table::dynlocal, elf_link_hash_table::dynsymcount, elf_hash_table, ELF_ST_INFO, ELF_ST_TYPE, elf_tdata, FALSE, bfd_link_info::hash, elf_link_local_dynamic_entry::input_bfd, elf_link_local_dynamic_entry::input_indx, is_elf_hash_table, elf_link_local_dynamic_entry::isym, elf_link_local_dynamic_entry::next, NULL, bfd_section::output_section, s, SHN_HIRESERVE, SHN_LORESERVE, SHN_UNDEF, elf_internal_sym::st_info, elf_internal_sym::st_name, elf_internal_sym::st_shndx, and STB_LOCAL.
Referenced by allocate_dynrel_entries(), allocate_fptr(), allocate_global_data_dlt(), allocate_global_data_opd(), elf64_hppa_check_relocs(), and elfNN_ia64_check_relocs().
Definition at line 8029 of file elf.c.
References _bfd_elf_section_from_bfd_section(), bfd_elf_get_elf_syms(), bfd_elf_string_from_elf_section(), bfd_get_flavour, bfd_malloc(), bfd_target_elf_flavour, elf_group_name, elf_section_flags, elf_section_type, elf_sort_elf_symbol(), elf_sym_name_compare(), elf_tdata, FALSE, free(), get_elf_backend_data, i, elf_symbol::name, bfd_section::name, NULL, bfd_section::owner, qsort(), result, elf_backend_data::s, elf_internal_shdr::sh_link, elf_internal_shdr::sh_size, SHF_GROUP, elf_size_info::sizeof_sym, elf_internal_sym::st_other, strcmp(), strncmp(), elf_symbol::sym, sym, and TRUE.
Referenced by _bfd_elf_section_already_linked(), and match_group_member().
| bfd_boolean bfd_elf_mkcorefile | ( | bfd * | ) |
| bfd_boolean bfd_elf_mkobject | ( | bfd * | ) |
Definition at line 236 of file elf.c.
References bfd_zalloc(), elf_tdata, FALSE, and TRUE.
Referenced by bfd_elf_mkcorefile().
| void bfd_elf_print_symbol | ( | bfd * | , | |
| void * | , | |||
| asymbol * | , | |||
| bfd_print_symbol_type | ||||
| ) |
Definition at line 1241 of file elf.c.
References a, bfd_fprintf_vma(), bfd_is_com_section, bfd_print_symbol_all, bfd_print_symbol_more, bfd_print_symbol_name, bfd_print_symbol_vandf(), elf_backend_data::elf_backend_print_symbol_all, elf_tdata, bfd_symbol::flags, fprintf(), get_elf_backend_data, i, bfd_symbol::name, bfd_section::name, NULL, putc(), bfd_symbol::section, strlen(), STV_HIDDEN, STV_INTERNAL, STV_PROTECTED, val, bfd_symbol::value, version_string, VERSYM_HIDDEN, VERSYM_VERSION, elf_internal_verneed::vn_auxptr, elf_internal_verneed::vn_nextref, elf_internal_vernaux::vna_nextptr, elf_internal_vernaux::vna_nodename, and elf_internal_vernaux::vna_other.
Definition at line 9422 of file elflink.c.
References elf_reloc_cookie::abfd, elf_reloc_cookie::bad_symtab, bfd_link_hash_defined, bfd_link_hash_defweak, bfd_link_hash_indirect, bfd_link_hash_warning, bfd_section_from_elf_index(), bfd_link_hash_entry::def, elf_discarded_section, ELF_ST_BIND, elf_reloc_cookie::extsymoff, FALSE, h, bfd_link_hash_entry::i, if(), elf_reloc_cookie::locsymcount, elf_reloc_cookie::locsyms, NULL, elf_internal_rela::r_info, elf_internal_rela::r_offset, elf_reloc_cookie::r_sym_shift, elf_reloc_cookie::rel, elf_reloc_cookie::relend, elf_reloc_cookie::rels, elf_link_hash_entry::root, SHN_HIRESERVE, SHN_LORESERVE, SHN_UNDEF, elf_internal_sym::st_info, elf_internal_sym::st_shndx, STB_LOCAL, elf_reloc_cookie::sym_hashes, TRUE, bfd_link_hash_entry::type, and bfd_link_hash_entry::u.
Referenced by _bfd_mips_elf_discard_info(), bfd_elf_discard_info(), and elf_xtensa_discard_info_for_section().
Definition at line 2642 of file elf.c.
References abort, bfd_alloc(), bfd_indirect_link_order, bfd_section::contents, elf_group_id, elf_next_in_group, elf_section_data, elf_section_syms, FALSE, first, bfd_section::flags, gas(), GRP_COMDAT, H_PUT_32, idx, bfd_section::index, bfd_link_order::indirect, bfd_section::link_order_head, bfd_link_order::next, NULL, bfd_section::output_section, s, SEC_LINK_ONCE, SHT_GROUP, bfd_section::size, bfd_section::target_index, TRUE, bfd_link_order::type, and bfd_link_order::u.
Referenced by _bfd_elf_compute_section_file_positions(), bfd_elf_final_link(), and elf_bfd_final_link().
| char* bfd_elf_string_from_elf_section | ( | bfd * | , | |
| unsigned | , | |||
| unsigned | ||||
| ) |
Referenced by _bfd_elf_print_private_bfd_data(), _bfd_elf_setup_group_pointers(), _bfd_elf_slurp_version_tables(), bfd_elf_get_bfd_needed_list(), bfd_elf_link_record_local_dynamic_symbol(), bfd_elf_match_symbols_in_sections(), bfd_elf_string_from_elf_section(), bfd_elf_sym_name(), bfd_section_from_shdr(), cris_elf_check_relocs(), cris_elf_relocate_section(), elf32_avr_relocate_section(), elf32_d10v_relocate_section(), elf32_frv_relocate_section(), elf32_h8_relocate_section(), elf32_hppa_check_relocs(), elf32_hppa_relocate_section(), elf32_i860_relocate_section(), elf32_m68hc11_size_stubs(), elf32_msp430_relocate_section(), elf32_sparc_check_relocs(), elf32_sparc_relocate_section(), elf64_alpha_check_relocs(), elf64_alpha_relocate_section(), elf64_x86_64_check_relocs(), elf64_x86_64_relocate_section(), elf_i386_check_relocs(), elf_i386_relocate_section(), elf_link_add_object_symbols(), elf_link_check_versioned_symbol(), elf_link_input_bfd(), elf_link_is_defined_archive_symbol(), elf_m68k_check_relocs(), elf_m68k_relocate_section(), elf_s390_check_relocs(), elf_s390_relocate_section(), elf_vax_check_relocs(), elf_vax_relocate_section(), elf_xtensa_relocate_section(), elfNN_ia64_relocate_section(), fr30_elf_relocate_section(), get_reloc_section(), i370_elf_check_relocs(), i370_elf_relocate_section(), ip2k_elf_relocate_section(), iq2000_elf_relocate_section(), m32r_elf_check_relocs(), m32r_elf_relocate_section(), m68hc11_get_relocation_value(), mcore_elf_relocate_section(), mips_elf_calculate_relocation(), mmix_elf_relocate_section(), mn10200_elf_relocate_section(), mn10300_elf_check_relocs(), mn10300_elf_final_link_relocate(), mn10300_elf_relax_section(), mn10300_elf_relocate_section(), openrisc_elf_relocate_section(), ppc64_elf_check_relocs(), ppc_elf_check_relocs(), ppc_elf_relocate_section(), sh_elf64_check_relocs(), sh_elf64_relocate_section(), sh_elf_check_relocs(), sh_elf_relocate_section(), sparc64_elf_check_relocs(), sparc64_elf_relocate_section(), v850_elf_relax_delete_bytes(), v850_elf_relax_section(), v850_elf_relocate_section(), and xstormy16_elf_relocate_section().
| const char* bfd_elf_sym_name | ( | bfd * | , | |
| Elf_Internal_Shdr * | , | |||
| Elf_Internal_Sym * | ||||
| ) |
Definition at line 412 of file elf.c.
References bfd_elf_string_from_elf_section(), elf_elfheader, elf_elfsections, elf_numsections, ELF_ST_TYPE, elf_internal_shdr::sh_link, SHN_HIRESERVE, SHN_LORESERVE, elf_internal_sym::st_info, elf_internal_sym::st_name, elf_internal_sym::st_shndx, and STT_SECTION.
Referenced by elf_link_input_bfd(), elf_slurp_symbol_table(), group_signature(), ppc64_elf_edit_opd(), ppc64_elf_edit_toc(), ppc64_elf_relocate_section(), and ppc_elf_relocate_section().
Definition at line 2113 of file elf.c.
References elf_elfsections, elf_numsections, and NULL.
Referenced by _bfd_mips_elf_gc_mark_hook(), _bfd_mips_relax_section(), adjust_all_relocations(), bfd_elf_final_link(), bfd_elf_link_record_local_dynamic_symbol(), bfd_elf_reloc_symbol_deleted_p(), bfd_m68k_elf32_create_embedded_relocs(), bfd_section_from_r_symndx(), bfd_section_from_shdr(), cris_elf_gc_mark_hook(), elf32_avr_gc_mark_hook(), elf32_d10v_gc_mark_hook(), elf32_frv_gc_mark_hook(), elf32_h8_gc_mark_hook(), elf32_h8_get_relocated_section_contents(), elf32_h8_relax_section(), elf32_hppa_gc_mark_hook(), elf32_m68hc11_gc_mark_hook(), elf32_msp430_gc_mark_hook(), elf32_sparc_gc_mark_hook(), elf64_alpha_relax_section(), elf64_x86_64_gc_mark_hook(), elf_bfd_final_link(), elf_i386_gc_mark_hook(), elf_link_add_object_symbols(), elf_link_input_bfd(), elf_m68k_gc_mark_hook(), elf_object_p(), elf_s390_gc_mark_hook(), elf_slurp_symbol_table(), elf_vax_gc_mark_hook(), elf_xtensa_gc_mark_hook(), elfNN_ia64_relax_section(), fr30_elf_gc_mark_hook(), get_elf_r_symndx_section(), get_sym_h(), ip2k_elf_gc_mark_hook(), iq2000_elf_gc_mark_hook(), m32r_elf_gc_mark_hook(), m68hc11_elf_relax_section(), mcore_elf_gc_mark_hook(), mmix_elf_gc_mark_hook(), mmix_elf_relax_section(), mn10200_elf_get_relocated_section_contents(), mn10200_elf_relax_section(), mn10300_elf_gc_mark_hook(), mn10300_elf_get_relocated_section_contents(), mn10300_elf_relax_section(), msp430_elf_relax_section(), opd_entry_value(), openrisc_elf_gc_mark_hook(), ppc64_elf_edit_toc(), ppc64_elf_gc_mark_hook(), ppc_elf_gc_mark_hook(), ppc_elf_relax_section(), sh_elf64_gc_mark_hook(), sh_elf64_get_relocated_section_contents(), sh_elf_gc_mark_hook(), sh_elf_get_relocated_section_contents(), symbol_value(), v850_elf_gc_mark_hook(), v850_elf_relax_section(), xstormy16_elf_gc_mark_hook(), and xstormy16_elf_relax_section().
| bfd_boolean bfd_section_from_phdr | ( | bfd * | , | |
| Elf_Internal_Phdr * | , | |||
| int | ||||
| ) |
Definition at line 2358 of file elf.c.
References _bfd_elf_make_section_from_phdr(), elf_backend_data::elf_backend_section_from_phdr, elfcore_read_notes(), FALSE, get_elf_backend_data, elf_internal_phdr::p_filesz, elf_internal_phdr::p_offset, elf_internal_phdr::p_type, PT_DYNAMIC, PT_GNU_EH_FRAME, PT_GNU_RELRO, PT_GNU_STACK, PT_INTERP, PT_LOAD, PT_NOTE, PT_NULL, PT_PHDR, PT_SHLIB, and TRUE.
Referenced by elf_core_file_p().
| asection* bfd_section_from_r_symndx | ( | bfd * | , | |
| struct sym_sec_cache * | , | |||
| asection * | , | |||
| unsigned | long | |||
| ) |
Definition at line 2072 of file elf.c.
References sym_sec_cache::abfd, bfd_elf_get_elf_syms(), bfd_section_from_elf_index(), elf_tdata, sym_sec_cache::indx, LOCAL_SYM_CACHE_SIZE, memset, NULL, s, sym_sec_cache::sec, SHN_HIRESERVE, SHN_LORESERVE, SHN_UNDEF, and elf_internal_sym::st_shndx.
Referenced by elf32_hppa_check_relocs(), elf32_sparc_check_relocs(), elf64_x86_64_check_relocs(), elf_i386_check_relocs(), elf_m68k_check_relocs(), elf_s390_check_relocs(), m32r_elf_check_relocs(), ppc64_elf_check_relocs(), ppc_elf_check_relocs(), and sh_elf_check_relocs().
| bfd_boolean bfd_section_from_shdr | ( | bfd * | , | |
| unsigned int | shindex | |||
| ) |
Definition at line 1718 of file elf.c.
References _, _bfd_elf_make_section_from_shdr(), bfd_alloc(), BFD_ASSERT, bfd_elf_string_from_elf_section(), elf_internal_shdr::bfd_section, bfd_section_from_elf_index(), bfd_section_from_shdr(), elf_internal_shdr::contents, DYNAMIC, elf_internal_ehdr::e_shstrndx, elf_backend_data::elf_backend_section_from_shdr, elf_dynsymtab, elf_dynverdef, elf_dynverref, elf_dynversym, elf_elfheader, elf_elfsections, elf_next_in_group, elf_numsections, elf_onesymtab, elf_section_data, elf_symtab_shndx, elf_tdata, FALSE, bfd_section::flags, elf_internal_group::flags, bfd::flags, get_elf_backend_data, group_signature(), GRP_COMDAT, HAS_RELOC, HAS_SYMS, i, idx, if(), NULL, NUM_SHDR_ENTRIES, bfd_section::rel_filepos, bfd_section::reloc_count, bfd_section::relocation, s, elf_backend_data::s, scan(), SEC_LINK_DUPLICATES_DISCARD, SEC_LINK_ONCE, SEC_RELOC, elf_internal_shdr::sh_entsize, elf_internal_shdr::sh_flags, elf_internal_shdr::sh_info, elf_internal_shdr::sh_link, elf_internal_shdr::sh_name, elf_internal_shdr::sh_offset, elf_internal_shdr::sh_size, elf_internal_shdr::sh_type, SHF_ALLOC, SHN_HIRESERVE, SHN_LORESERVE, SHN_UNDEF, SHT_DYNAMIC, SHT_DYNSYM, SHT_FINI_ARRAY, SHT_GNU_LIBLIST, SHT_GNU_verdef, SHT_GNU_verneed, SHT_GNU_versym, SHT_GROUP, SHT_HASH, SHT_INIT_ARRAY, SHT_NOBITS, SHT_NOTE, SHT_NULL, SHT_PREINIT_ARRAY, SHT_PROGBITS, SHT_REL, SHT_RELA, SHT_SHLIB, SHT_STRTAB, SHT_SYMTAB, SHT_SYMTAB_SHNDX, elf_size_info::sizeof_sym, TRUE, and bfd_section::use_rela_p.
Referenced by bfd_section_from_shdr(), elf_object_p(), and group_signature().
Definition at line 7457 of file elf.c.
References Elf_External_Note::descsz, dest, get_elf_backend_data, H_PUT_32, elf_size_info::log_file_align, memcpy, Elf_External_Note::name, Elf_External_Note::namesz, NULL, p, realloc, elf_backend_data::s, strlen(), and Elf_External_Note::type.
Referenced by elfcore_write_prfpreg(), and elfcore_write_prxfpreg().
| char* elfcore_write_prpsinfo | ( | bfd * | , | |
| char * | , | |||
| int * | , | |||
| const char * | , | |||
| const char * | ||||
| ) |
1.5.6