Rizin
unix-like reverse engineering framework and cli tools
elf-bfd.h File Reference
#include "elf/common.h"
#include "elf/internal.h"
#include "elf/external.h"
#include "bfdlink.h"

Go to the source code of this file.

Classes

struct  elf_symbol_type
 
struct  elf_link_hash_entry
 
union  elf_link_hash_entry::gotplt_union
 
struct  elf_link_local_dynamic_entry
 
struct  elf_link_loaded_list
 
struct  eh_cie_fde
 
struct  eh_frame_sec_info
 
struct  eh_frame_array_ent
 
struct  eh_frame_hdr_info
 
struct  elf_link_hash_table
 
struct  sym_sec_cache
 
struct  elf_size_info
 
struct  elf_reloc_cookie
 
struct  bfd_elf_special_section
 
struct  elf_backend_data
 
struct  bfd_elf_section_data
 
struct  elf_info_failed
 
struct  elf_assign_sym_version_info
 
struct  elf_find_verdep_info
 
struct  obj_attribute
 
struct  obj_attribute_list
 
struct  elf_obj_tdata
 

Macros

#define NUM_SHDR_ENTRIES(shdr)   ((shdr)->sh_size / (shdr)->sh_entsize)
 
#define NAME(x, y)   x##NOSIZE##_##y
 
#define ElfNAME(X)   NAME(Elf, X)
 
#define elfNAME(X)   NAME(elf, X)
 
#define SYMBOL_REFERENCES_LOCAL(INFO, H)    _bfd_elf_symbol_refs_local_p(H, INFO, 0)
 
#define SYMBOL_CALLS_LOCAL(INFO, H)    _bfd_elf_symbol_refs_local_p(H, INFO, 1)
 
#define ELF_COMMON_DEF_P(H)    (!(H)->def_regular && !(H)->def_dynamic && (H)->root.type == bfd_link_hash_defined)
 
#define elf_link_hash_lookup(table, string, create, copy, follow)
 
#define elf_link_hash_traverse(table, func, info)
 
#define elf_hash_table(p)   ((struct elf_link_hash_table *)((p)->hash))
 
#define is_elf_hash_table(htab)    (((struct bfd_link_hash_table *)(htab))->type == bfd_link_elf_hash_table)
 
#define LOCAL_SYM_CACHE_SIZE   32
 
#define MAX_INT_RELS_PER_EXT_REL   3
 
#define elf_symbol_from(ABFD, S)
 
#define elf_section_data(sec)   ((struct bfd_elf_section_data *)(sec)->used_by_bfd)
 
#define elf_linked_to_section(sec)   (elf_section_data(sec)->linked_to)
 
#define elf_section_type(sec)   (elf_section_data(sec)->this_hdr.sh_type)
 
#define elf_section_flags(sec)   (elf_section_data(sec)->this_hdr.sh_flags)
 
#define elf_group_name(sec)   (elf_section_data(sec)->group.name)
 
#define elf_group_id(sec)   (elf_section_data(sec)->group.id)
 
#define elf_next_in_group(sec)   (elf_section_data(sec)->next_in_group)
 
#define elf_sec_group(sec)   (elf_section_data(sec)->sec_group)
 
#define xvec_get_elf_backend_data(xvec)    ((const struct elf_backend_data *)(xvec)->backend_data)
 
#define get_elf_backend_data(abfd)    xvec_get_elf_backend_data((abfd)->xvec)
 
#define NUM_KNOWN_OBJ_ATTRIBUTES   32
 
#define OBJ_ATTR_PROC   0
 
#define OBJ_ATTR_GNU   1
 
#define OBJ_ATTR_FIRST   OBJ_ATTR_PROC
 
#define OBJ_ATTR_LAST   OBJ_ATTR_GNU
 
#define elf_tdata(bfd)   ((bfd)->tdata.elf_obj_data)
 
#define elf_elfheader(bfd)   (elf_tdata(bfd)->elf_header)
 
#define elf_elfsections(bfd)   (elf_tdata(bfd)->elf_sect_ptr)
 
#define elf_numsections(bfd)   (elf_tdata(bfd)->num_elf_sections)
 
#define elf_shstrtab(bfd)   (elf_tdata(bfd)->strtab_ptr)
 
#define elf_onesymtab(bfd)   (elf_tdata(bfd)->symtab_section)
 
#define elf_symtab_shndx(bfd)   (elf_tdata(bfd)->symtab_shndx_section)
 
#define elf_dynsymtab(bfd)   (elf_tdata(bfd)->dynsymtab_section)
 
#define elf_dynversym(bfd)   (elf_tdata(bfd)->dynversym_section)
 
#define elf_dynverdef(bfd)   (elf_tdata(bfd)->dynverdef_section)
 
#define elf_dynverref(bfd)   (elf_tdata(bfd)->dynverref_section)
 
#define elf_num_locals(bfd)   (elf_tdata(bfd)->num_locals)
 
#define elf_num_globals(bfd)   (elf_tdata(bfd)->num_globals)
 
#define elf_section_syms(bfd)   (elf_tdata(bfd)->section_syms)
 
#define elf_num_section_syms(bfd)   (elf_tdata(bfd)->num_section_syms)
 
#define core_prpsinfo(bfd)   (elf_tdata(bfd)->prpsinfo)
 
#define core_prstatus(bfd)   (elf_tdata(bfd)->prstatus)
 
#define elf_gp(bfd)   (elf_tdata(bfd)->gp)
 
#define elf_gp_size(bfd)   (elf_tdata(bfd)->gp_size)
 
#define elf_sym_hashes(bfd)   (elf_tdata(bfd)->sym_hashes)
 
#define elf_local_got_refcounts(bfd)   (elf_tdata(bfd)->local_got.refcounts)
 
#define elf_local_got_offsets(bfd)   (elf_tdata(bfd)->local_got.offsets)
 
#define elf_local_got_ents(bfd)   (elf_tdata(bfd)->local_got.ents)
 
#define elf_dt_name(bfd)   (elf_tdata(bfd)->dt_name)
 
#define elf_dyn_lib_class(bfd)   (elf_tdata(bfd)->dyn_lib_class)
 
#define elf_bad_symtab(bfd)   (elf_tdata(bfd)->bad_symtab)
 
#define elf_flags_init(bfd)   (elf_tdata(bfd)->flags_init)
 
#define elf_known_obj_attributes(bfd)   (elf_tdata(bfd)->known_obj_attributes)
 
#define elf_other_obj_attributes(bfd)   (elf_tdata(bfd)->other_obj_attributes)
 
#define elf_known_obj_attributes_proc(bfd)    (elf_known_obj_attributes(bfd)[OBJ_ATTR_PROC])
 
#define elf_other_obj_attributes_proc(bfd)    (elf_other_obj_attributes(bfd)[OBJ_ATTR_PROC])
 
#define _bfd_generic_init_private_section_data    _bfd_elf_init_private_section_data
 
#define _bfd_generic_find_line   _bfd_elf_find_line
 
#define _bfd_elf_read_minisymbols   _bfd_generic_read_minisymbols
 
#define _bfd_elf_minisymbol_to_symbol   _bfd_generic_minisymbol_to_symbol
 
#define bfd_elf_add_proc_attr_int(BFD, TAG, VALUE)    bfd_elf_add_obj_attr_int((BFD), OBJ_ATTR_PROC, (TAG), (VALUE))
 
#define bfd_elf_add_proc_attr_string(BFD, TAG, VALUE)    bfd_elf_add_obj_attr_string((BFD), OBJ_ATTR_PROC, (TAG), (VALUE))
 
#define bfd_elf_add_proc_attr_compat(BFD, INTVAL, STRVAL)    bfd_elf_add_obj_attr_compat((BFD), OBJ_ATTR_PROC, (INTVAL), (STRVAL))
 
#define WILL_CALL_FINISH_DYNAMIC_SYMBOL(DYN, SHARED, H)    ((DYN) && ((SHARED) || !(H)->forced_local) && ((H)->dynindx != -1 || (H)->forced_local))
 
#define RELOC_FOR_GLOBAL_SYMBOL(info, input_bfd, input_section, rel, rz_symndx, symtab_hdr, sym_hashes, h, sec, relocation, unresolved_reloc, warned)
 
#define SYMBOLIC_BIND(INFO, H)    ((INFO)->symbolic || ((INFO)->dynamic && !(H)->dynamic))
 

Typedefs

typedef asection *(* elf_gc_mark_hook_fn) (asection *, struct bfd_link_info *, Elf_Internal_Rela *, struct elf_link_hash_entry *, Elf_Internal_Sym *)
 
typedef struct obj_attribute obj_attribute
 
typedef struct obj_attribute_list obj_attribute_list
 

Enumerations

enum  elf_reloc_type_class { reloc_class_normal , reloc_class_relative , reloc_class_plt , reloc_class_copy }
 
enum  irix_compat_t { ict_none , ict_irix5 , ict_irix6 }
 
enum  action_discarded { COMPLAIN = 1 , PRETEND = 2 }
 
enum  {
  Tag_NULL = 0 , Tag_File = 1 , Tag_Section = 2 , Tag_Symbol = 3 ,
  Tag_compatibility = 32
}
 

Functions

void _bfd_elf_swap_verdef_in (bfd *, const Elf_External_Verdef *, Elf_Internal_Verdef *)
 
void _bfd_elf_swap_verdef_out (bfd *, const Elf_Internal_Verdef *, Elf_External_Verdef *)
 
void _bfd_elf_swap_verdaux_in (bfd *, const Elf_External_Verdaux *, Elf_Internal_Verdaux *)
 
void _bfd_elf_swap_verdaux_out (bfd *, const Elf_Internal_Verdaux *, Elf_External_Verdaux *)
 
void _bfd_elf_swap_verneed_in (bfd *, const Elf_External_Verneed *, Elf_Internal_Verneed *)
 
void _bfd_elf_swap_verneed_out (bfd *, const Elf_Internal_Verneed *, Elf_External_Verneed *)
 
void _bfd_elf_swap_vernaux_in (bfd *, const Elf_External_Vernaux *, Elf_Internal_Vernaux *)
 
void _bfd_elf_swap_vernaux_out (bfd *, const Elf_Internal_Vernaux *, Elf_External_Vernaux *)
 
void _bfd_elf_swap_versym_in (bfd *, const Elf_External_Versym *, Elf_Internal_Versym *)
 
void _bfd_elf_swap_versym_out (bfd *, const Elf_Internal_Versym *, Elf_External_Versym *)
 
int _bfd_elf_section_from_bfd_section (bfd *, asection *)
 
char * bfd_elf_string_from_elf_section (bfd *, unsigned, unsigned)
 
char * bfd_elf_get_str_section (bfd *, unsigned)
 
Elf_Internal_Symbfd_elf_get_elf_syms (bfd *, Elf_Internal_Shdr *, size_t, size_t, Elf_Internal_Sym *, void *, Elf_External_Sym_Shndx *)
 
const char * bfd_elf_sym_name (bfd *, Elf_Internal_Shdr *, Elf_Internal_Sym *, asection *)
 
bfd_boolean _bfd_elf_copy_private_bfd_data (bfd *, bfd *)
 
bfd_boolean _bfd_elf_print_private_bfd_data (bfd *, void *)
 
void bfd_elf_print_symbol (bfd *, void *, asymbol *, bfd_print_symbol_type)
 
void _bfd_elf_sprintf_vma (bfd *, char *, bfd_vma)
 
void _bfd_elf_fprintf_vma (bfd *, void *, bfd_vma)
 
unsigned int _bfd_elf_eh_frame_address_size (bfd *, asection *)
 
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)
 
bfd_boolean _bfd_elf_can_make_relative (bfd *input_bfd, struct bfd_link_info *info, asection *eh_frame_section)
 
enum elf_reloc_type_class _bfd_elf_reloc_type_class (const Elf_Internal_Rela *)
 
bfd_vma _bfd_elf_rela_local_sym (bfd *, Elf_Internal_Sym *, asection **, Elf_Internal_Rela *)
 
bfd_vma _bfd_elf_rel_local_sym (bfd *, Elf_Internal_Sym *, asection **, bfd_vma)
 
bfd_vma _bfd_elf_section_offset (bfd *, struct bfd_link_info *, asection *, bfd_vma)
 
unsigned long bfd_elf_hash (const char *)
 
unsigned long bfd_elf_gnu_hash (const char *)
 
bfd_reloc_status_type bfd_elf_generic_reloc (bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **)
 
bfd_boolean bfd_elf_mkobject (bfd *)
 
bfd_boolean bfd_elf_mkcorefile (bfd *)
 
Elf_Internal_Shdrbfd_elf_find_section (bfd *, char *)
 
bfd_boolean _bfd_elf_make_section_from_shdr (bfd *, Elf_Internal_Shdr *, const char *, int)
 
bfd_boolean _bfd_elf_make_section_from_phdr (bfd *, Elf_Internal_Phdr *, int, const char *)
 
struct bfd_hash_entry_bfd_elf_link_hash_newfunc (struct bfd_hash_entry *, struct bfd_hash_table *, const char *)
 
struct bfd_link_hash_table_bfd_elf_link_hash_table_create (bfd *)
 
void _bfd_elf_link_hash_copy_indirect (struct bfd_link_info *, struct elf_link_hash_entry *, struct elf_link_hash_entry *)
 
void _bfd_elf_link_hash_hide_symbol (struct bfd_link_info *, struct elf_link_hash_entry *, bfd_boolean)
 
bfd_boolean _bfd_elf_link_hash_fixup_symbol (struct bfd_link_info *, struct elf_link_hash_entry *)
 
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 *), unsigned int)
 
bfd_boolean _bfd_elf_slurp_version_tables (bfd *, bfd_boolean)
 
bfd_boolean _bfd_elf_merge_sections (bfd *, struct bfd_link_info *)
 
bfd_boolean _bfd_elf_match_sections_by_type (bfd *, const asection *, bfd *, const asection *)
 
bfd_boolean bfd_elf_is_group_section (bfd *, const struct bfd_section *)
 
void _bfd_elf_section_already_linked (bfd *, struct bfd_section *, struct bfd_link_info *)
 
void bfd_elf_set_group_contents (bfd *, asection *, void *)
 
asection_bfd_elf_check_kept_section (asection *, struct bfd_link_info *)
 
void _bfd_elf_link_just_syms (asection *, struct bfd_link_info *)
 
bfd_boolean _bfd_elf_copy_private_header_data (bfd *, bfd *)
 
bfd_boolean _bfd_elf_copy_private_symbol_data (bfd *, asymbol *, bfd *, asymbol *)
 
bfd_boolean _bfd_elf_init_private_section_data (bfd *, asection *, bfd *, asection *, struct bfd_link_info *)
 
bfd_boolean _bfd_elf_copy_private_section_data (bfd *, asection *, bfd *, asection *)
 
bfd_boolean _bfd_elf_write_object_contents (bfd *)
 
bfd_boolean _bfd_elf_write_corefile_contents (bfd *)
 
bfd_boolean _bfd_elf_set_section_contents (bfd *, sec_ptr, const void *, file_ptr, bfd_size_type)
 
long _bfd_elf_get_symtab_upper_bound (bfd *)
 
long _bfd_elf_canonicalize_symtab (bfd *, asymbol **)
 
long _bfd_elf_get_dynamic_symtab_upper_bound (bfd *)
 
long _bfd_elf_canonicalize_dynamic_symtab (bfd *, asymbol **)
 
long _bfd_elf_get_synthetic_symtab (bfd *, long, asymbol **, long, asymbol **, asymbol **)
 
long _bfd_elf_get_reloc_upper_bound (bfd *, sec_ptr)
 
long _bfd_elf_canonicalize_reloc (bfd *, sec_ptr, arelent **, asymbol **)
 
long _bfd_elf_get_dynamic_reloc_upper_bound (bfd *)
 
long _bfd_elf_canonicalize_dynamic_reloc (bfd *, arelent **, asymbol **)
 
asymbol_bfd_elf_make_empty_symbol (bfd *)
 
void _bfd_elf_get_symbol_info (bfd *, asymbol *, symbol_info *)
 
bfd_boolean _bfd_elf_is_local_label_name (bfd *, const char *)
 
alent_bfd_elf_get_lineno (bfd *, asymbol *)
 
bfd_boolean _bfd_elf_set_arch_mach (bfd *, enum bfd_architecture, unsigned long)
 
bfd_boolean _bfd_elf_find_nearest_line (bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)
 
bfd_boolean _bfd_elf_find_line (bfd *, asymbol **, asymbol *, const char **, unsigned int *)
 
bfd_boolean _bfd_elf_find_inliner_info (bfd *, const char **, const char **, unsigned int *)
 
int _bfd_elf_sizeof_headers (bfd *, struct bfd_link_info *)
 
bfd_boolean _bfd_elf_new_section_hook (bfd *, asection *)
 
bfd_boolean _bfd_elf_init_reloc_shdr (bfd *, Elf_Internal_Shdr *, asection *, bfd_boolean)
 
const struct bfd_elf_special_section_bfd_elf_get_special_section (const char *, const struct bfd_elf_special_section *, unsigned int)
 
const struct bfd_elf_special_section_bfd_elf_get_sec_type_attr (bfd *, asection *)
 
void _bfd_elf_no_info_to_howto (bfd *, arelent *, Elf_Internal_Rela *)
 
bfd_boolean bfd_section_from_shdr (bfd *, unsigned int shindex)
 
bfd_boolean bfd_section_from_phdr (bfd *, Elf_Internal_Phdr *, int)
 
int _bfd_elf_symbol_from_bfd_symbol (bfd *, asymbol **)
 
asectionbfd_section_from_r_symndx (bfd *, struct sym_sec_cache *, asection *, unsigned long)
 
asectionbfd_section_from_elf_index (bfd *, unsigned int)
 
struct bfd_strtab_hash * _bfd_elf_stringtab_init (void)
 
struct elf_strtab_hash * _bfd_elf_strtab_init (void)
 
void _bfd_elf_strtab_free (struct elf_strtab_hash *)
 
bfd_size_type _bfd_elf_strtab_add (struct elf_strtab_hash *, const char *, bfd_boolean)
 
void _bfd_elf_strtab_addref (struct elf_strtab_hash *, bfd_size_type)
 
void _bfd_elf_strtab_delref (struct elf_strtab_hash *, bfd_size_type)
 
void _bfd_elf_strtab_clear_all_refs (struct elf_strtab_hash *)
 
bfd_size_type _bfd_elf_strtab_size (struct elf_strtab_hash *)
 
bfd_size_type _bfd_elf_strtab_offset (struct elf_strtab_hash *, bfd_size_type)
 
bfd_boolean _bfd_elf_strtab_emit (bfd *, struct elf_strtab_hash *)
 
void _bfd_elf_strtab_finalize (struct elf_strtab_hash *)
 
bfd_boolean _bfd_elf_discard_section_eh_frame (bfd *, struct bfd_link_info *, asection *, bfd_boolean(*)(bfd_vma, void *), struct elf_reloc_cookie *)
 
bfd_boolean _bfd_elf_discard_section_eh_frame_hdr (bfd *, struct bfd_link_info *)
 
bfd_vma _bfd_elf_eh_frame_section_offset (bfd *, struct bfd_link_info *, asection *, bfd_vma)
 
bfd_boolean _bfd_elf_write_section_eh_frame (bfd *, struct bfd_link_info *, asection *, bfd_byte *)
 
bfd_boolean _bfd_elf_write_section_eh_frame_hdr (bfd *, struct bfd_link_info *)
 
bfd_boolean _bfd_elf_maybe_strip_eh_frame_hdr (struct bfd_link_info *)
 
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 *)
 
bfd_boolean _bfd_elf_hash_symbol (struct elf_link_hash_entry *)
 
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)
 
bfd_boolean _bfd_elf_export_symbol (struct elf_link_hash_entry *, void *)
 
bfd_boolean _bfd_elf_link_find_version_dependencies (struct elf_link_hash_entry *, void *)
 
bfd_boolean _bfd_elf_link_assign_sym_version (struct elf_link_hash_entry *, void *)
 
long _bfd_elf_link_lookup_local_dynindx (struct bfd_link_info *, bfd *, long)
 
bfd_boolean _bfd_elf_compute_section_file_positions (bfd *, struct bfd_link_info *)
 
void _bfd_elf_assign_file_positions_for_relocs (bfd *)
 
file_ptr _bfd_elf_assign_file_position_for_section (Elf_Internal_Shdr *, file_ptr, bfd_boolean)
 
bfd_boolean _bfd_elf_validate_reloc (bfd *, arelent *)
 
bfd_boolean _bfd_elf_link_create_dynamic_sections (bfd *, struct bfd_link_info *)
 
bfd_boolean _bfd_elf_link_omit_section_dynsym (bfd *, struct bfd_link_info *, asection *)
 
bfd_boolean _bfd_elf_create_dynamic_sections (bfd *, struct bfd_link_info *)
 
bfd_boolean _bfd_elf_create_got_section (bfd *, struct bfd_link_info *)
 
struct elf_link_hash_entry_bfd_elf_define_linkage_sym (bfd *, struct bfd_link_info *, asection *, const char *)
 
void _bfd_elf_init_1_index_section (bfd *, struct bfd_link_info *)
 
void _bfd_elf_init_2_index_sections (bfd *, struct bfd_link_info *)
 
bfd_boolean _bfd_elfcore_make_pseudosection (bfd *, char *, size_t, ufile_ptr)
 
char * _bfd_elfcore_strndup (bfd *, char *, size_t)
 
Elf_Internal_Rela_bfd_elf_link_read_relocs (bfd *, asection *, void *, Elf_Internal_Rela *, bfd_boolean)
 
bfd_boolean _bfd_elf_link_size_reloc_section (bfd *, Elf_Internal_Shdr *, asection *)
 
bfd_boolean _bfd_elf_link_output_relocs (bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *, struct elf_link_hash_entry **)
 
bfd_boolean _bfd_elf_fix_symbol_flags (struct elf_link_hash_entry *, struct elf_info_failed *)
 
bfd_boolean _bfd_elf_adjust_dynamic_symbol (struct elf_link_hash_entry *, void *)
 
bfd_boolean _bfd_elf_adjust_dynamic_copy (struct elf_link_hash_entry *, asection *)
 
bfd_boolean _bfd_elf_link_sec_merge_syms (struct elf_link_hash_entry *, void *)
 
bfd_boolean _bfd_elf_dynamic_symbol_p (struct elf_link_hash_entry *, struct bfd_link_info *, bfd_boolean)
 
bfd_boolean _bfd_elf_symbol_refs_local_p (struct elf_link_hash_entry *, struct bfd_link_info *, bfd_boolean)
 
bfd_boolean bfd_elf_match_symbols_in_sections (asection *, asection *, struct bfd_link_info *)
 
void bfd_elf_perform_complex_relocation (bfd *output_bfd ATTRIBUTE_UNUSED, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *rel, Elf_Internal_Sym *local_syms, asection **local_sections)
 
bfd_boolean _bfd_elf_setup_sections (bfd *)
 
void _bfd_elf_set_osabi (bfd *, struct bfd_link_info *)
 
const bfd_targetbfd_elf32_object_p (bfd *)
 
const bfd_targetbfd_elf32_core_file_p (bfd *)
 
char * bfd_elf32_core_file_failing_command (bfd *)
 
int bfd_elf32_core_file_failing_signal (bfd *)
 
bfd_boolean bfd_elf32_core_file_matches_executable_p (bfd *, bfd *)
 
bfd_boolean bfd_elf32_swap_symbol_in (bfd *, const void *, const void *, Elf_Internal_Sym *)
 
void bfd_elf32_swap_symbol_out (bfd *, const Elf_Internal_Sym *, void *, void *)
 
void bfd_elf32_swap_reloc_in (bfd *, const bfd_byte *, Elf_Internal_Rela *)
 
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 *)
 
void bfd_elf32_swap_reloca_out (bfd *, const Elf_Internal_Rela *, bfd_byte *)
 
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_dyn_in (bfd *, const void *, Elf_Internal_Dyn *)
 
void bfd_elf32_swap_dyn_out (bfd *, const Elf_Internal_Dyn *, void *)
 
long bfd_elf32_slurp_symbol_table (bfd *, asymbol **, bfd_boolean)
 
bfd_boolean bfd_elf32_write_shdrs_and_ehdr (bfd *)
 
int bfd_elf32_write_out_phdrs (bfd *, const Elf_Internal_Phdr *, unsigned int)
 
bfd_boolean bfd_elf32_checksum_contents (bfd *, void(*)(const void *, size_t, void *), void *)
 
void bfd_elf32_write_relocs (bfd *, asection *, void *)
 
bfd_boolean bfd_elf32_slurp_reloc_table (bfd *, asection *, asymbol **, bfd_boolean)
 
const bfd_targetbfd_elf64_object_p (bfd *)
 
const bfd_targetbfd_elf64_core_file_p (bfd *)
 
char * bfd_elf64_core_file_failing_command (bfd *)
 
int bfd_elf64_core_file_failing_signal (bfd *)
 
bfd_boolean bfd_elf64_core_file_matches_executable_p (bfd *, bfd *)
 
bfd_boolean 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 *)
 
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 *)
 
void bfd_elf64_swap_reloca_in (bfd *, const bfd_byte *, Elf_Internal_Rela *)
 
void bfd_elf64_swap_reloca_out (bfd *, const Elf_Internal_Rela *, bfd_byte *)
 
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_dyn_in (bfd *, const void *, Elf_Internal_Dyn *)
 
void bfd_elf64_swap_dyn_out (bfd *, const Elf_Internal_Dyn *, void *)
 
long bfd_elf64_slurp_symbol_table (bfd *, asymbol **, bfd_boolean)
 
bfd_boolean bfd_elf64_write_shdrs_and_ehdr (bfd *)
 
int bfd_elf64_write_out_phdrs (bfd *, const Elf_Internal_Phdr *, unsigned int)
 
bfd_boolean bfd_elf64_checksum_contents (bfd *, void(*)(const void *, size_t, void *), void *)
 
void bfd_elf64_write_relocs (bfd *, asection *, void *)
 
bfd_boolean bfd_elf64_slurp_reloc_table (bfd *, asection *, asymbol **, bfd_boolean)
 
struct elf_link_hash_entry_bfd_elf_archive_symbol_lookup (bfd *, struct bfd_link_info *, const char *)
 
bfd_boolean bfd_elf_link_add_symbols (bfd *, struct bfd_link_info *)
 
bfd_boolean _bfd_elf_add_dynamic_entry (struct bfd_link_info *, bfd_vma, bfd_vma)
 
bfd_boolean bfd_elf_link_record_dynamic_symbol (struct bfd_link_info *, struct elf_link_hash_entry *)
 
int bfd_elf_link_record_local_dynamic_symbol (struct bfd_link_info *, bfd *, long)
 
void bfd_elf_link_mark_dynamic_symbol (struct bfd_link_info *, struct elf_link_hash_entry *, Elf_Internal_Sym *)
 
bfd_boolean _bfd_elf_close_and_cleanup (bfd *)
 
bfd_boolean _bfd_elf_common_definition (Elf_Internal_Sym *)
 
unsigned int _bfd_elf_common_section_index (asection *)
 
asection_bfd_elf_common_section (asection *)
 
void _bfd_dwarf2_cleanup_debug_info (bfd *)
 
bfd_reloc_status_type _bfd_elf_rel_vtable_reloc_fn (bfd *, arelent *, struct bfd_symbol *, void *, asection *, bfd *, char **)
 
bfd_boolean bfd_elf_final_link (bfd *, struct bfd_link_info *)
 
bfd_boolean bfd_elf_gc_mark_dynamic_ref_symbol (struct elf_link_hash_entry *h, void *inf)
 
bfd_boolean bfd_elf_gc_sections (bfd *, struct bfd_link_info *)
 
bfd_boolean bfd_elf_gc_record_vtinherit (bfd *, asection *, struct elf_link_hash_entry *, bfd_vma)
 
bfd_boolean bfd_elf_gc_record_vtentry (bfd *, asection *, struct elf_link_hash_entry *, bfd_vma)
 
asection_bfd_elf_gc_mark_hook (asection *, struct bfd_link_info *, Elf_Internal_Rela *, struct elf_link_hash_entry *, Elf_Internal_Sym *)
 
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 *))
 
bfd_boolean bfd_elf_gc_common_finalize_got_offsets (bfd *, struct bfd_link_info *)
 
bfd_boolean bfd_elf_gc_common_final_link (bfd *, struct bfd_link_info *)
 
bfd_boolean bfd_elf_reloc_symbol_deleted_p (bfd_vma, void *)
 
struct elf_segment_map_bfd_elf_make_dynamic_segment (bfd *, asection *)
 
bfd_boolean _bfd_elf_map_sections_to_segments (bfd *, struct bfd_link_info *)
 
bfd_boolean _bfd_elf_is_function_type (unsigned int)
 
char * elfcore_write_note (bfd *, char *, int *, const char *, int, const void *, int)
 
char * elfcore_write_prpsinfo (bfd *, char *, int *, const char *, const char *)
 
char * elfcore_write_prstatus (bfd *, char *, int *, long, int, const void *)
 
char * elfcore_write_pstatus (bfd *, char *, int *, long, int, const void *)
 
char * elfcore_write_prfpreg (bfd *, char *, int *, const void *, int)
 
char * elfcore_write_prxfpreg (bfd *, char *, int *, const void *, int)
 
char * elfcore_write_lwpstatus (bfd *, char *, int *, long, int, const void *)
 
bfd_bfd_elf32_bfd_from_remote_memory (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep, int(*target_read_memory)(bfd_vma, bfd_byte *, int))
 
bfd_bfd_elf64_bfd_from_remote_memory (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep, int(*target_read_memory)(bfd_vma, bfd_byte *, int))
 
bfd_vma bfd_elf_obj_attr_size (bfd *)
 
void bfd_elf_set_obj_attr_contents (bfd *, bfd_byte *, bfd_vma)
 
int bfd_elf_get_obj_attr_int (bfd *, int, int)
 
void bfd_elf_add_obj_attr_int (bfd *, int, int, unsigned int)
 
void bfd_elf_add_obj_attr_string (bfd *, int, int, const char *)
 
void bfd_elf_add_obj_attr_compat (bfd *, int, unsigned int, const char *)
 
char * _bfd_elf_attr_strdup (bfd *, const char *)
 
void _bfd_elf_copy_obj_attributes (bfd *, bfd *)
 
int _bfd_elf_obj_attrs_arg_type (bfd *, int, int)
 
void _bfd_elf_parse_attributes (bfd *, Elf_Internal_Shdr *)
 
bfd_boolean _bfd_elf_merge_object_attributes (bfd *, bfd *)
 
bfd_boolean _sh_elf_set_mach_from_flags (bfd *)
 

Variables

asection _bfd_elf_large_com_section
 

Macro Definition Documentation

◆ _bfd_elf_minisymbol_to_symbol

#define _bfd_elf_minisymbol_to_symbol   _bfd_generic_minisymbol_to_symbol

Definition at line 1492 of file elf-bfd.h.

◆ _bfd_elf_read_minisymbols

#define _bfd_elf_read_minisymbols   _bfd_generic_read_minisymbols

Definition at line 1491 of file elf-bfd.h.

◆ _bfd_generic_find_line

#define _bfd_generic_find_line   _bfd_elf_find_line

Definition at line 1489 of file elf-bfd.h.

◆ _bfd_generic_init_private_section_data

#define _bfd_generic_init_private_section_data    _bfd_elf_init_private_section_data

Definition at line 1465 of file elf-bfd.h.

◆ bfd_elf_add_proc_attr_compat

#define bfd_elf_add_proc_attr_compat (   BFD,
  INTVAL,
  STRVAL 
)     bfd_elf_add_obj_attr_compat((BFD), OBJ_ATTR_PROC, (INTVAL), (STRVAL))

Definition at line 1723 of file elf-bfd.h.

◆ bfd_elf_add_proc_attr_int

#define bfd_elf_add_proc_attr_int (   BFD,
  TAG,
  VALUE 
)     bfd_elf_add_obj_attr_int((BFD), OBJ_ATTR_PROC, (TAG), (VALUE))

Definition at line 1716 of file elf-bfd.h.

◆ bfd_elf_add_proc_attr_string

#define bfd_elf_add_proc_attr_string (   BFD,
  TAG,
  VALUE 
)     bfd_elf_add_obj_attr_string((BFD), OBJ_ATTR_PROC, (TAG), (VALUE))

Definition at line 1719 of file elf-bfd.h.

◆ core_prpsinfo

#define core_prpsinfo (   bfd)    (elf_tdata(bfd)->prpsinfo)

Definition at line 1383 of file elf-bfd.h.

◆ core_prstatus

#define core_prstatus (   bfd)    (elf_tdata(bfd)->prstatus)

Definition at line 1384 of file elf-bfd.h.

◆ elf_bad_symtab

#define elf_bad_symtab (   bfd)    (elf_tdata(bfd)->bad_symtab)

Definition at line 1393 of file elf-bfd.h.

◆ ELF_COMMON_DEF_P

#define ELF_COMMON_DEF_P (   H)     (!(H)->def_regular && !(H)->def_dynamic && (H)->root.type == bfd_link_hash_defined)

Definition at line 231 of file elf-bfd.h.

◆ elf_dt_name

#define elf_dt_name (   bfd)    (elf_tdata(bfd)->dt_name)

Definition at line 1391 of file elf-bfd.h.

◆ elf_dyn_lib_class

#define elf_dyn_lib_class (   bfd)    (elf_tdata(bfd)->dyn_lib_class)

Definition at line 1392 of file elf-bfd.h.

◆ elf_dynsymtab

#define elf_dynsymtab (   bfd)    (elf_tdata(bfd)->dynsymtab_section)

Definition at line 1375 of file elf-bfd.h.

◆ elf_dynverdef

#define elf_dynverdef (   bfd)    (elf_tdata(bfd)->dynverdef_section)

Definition at line 1377 of file elf-bfd.h.

◆ elf_dynverref

#define elf_dynverref (   bfd)    (elf_tdata(bfd)->dynverref_section)

Definition at line 1378 of file elf-bfd.h.

◆ elf_dynversym

#define elf_dynversym (   bfd)    (elf_tdata(bfd)->dynversym_section)

Definition at line 1376 of file elf-bfd.h.

◆ elf_elfheader

#define elf_elfheader (   bfd)    (elf_tdata(bfd)->elf_header)

Definition at line 1369 of file elf-bfd.h.

◆ elf_elfsections

#define elf_elfsections (   bfd)    (elf_tdata(bfd)->elf_sect_ptr)

Definition at line 1370 of file elf-bfd.h.

◆ elf_flags_init

#define elf_flags_init (   bfd)    (elf_tdata(bfd)->flags_init)

Definition at line 1394 of file elf-bfd.h.

◆ elf_gp

#define elf_gp (   bfd)    (elf_tdata(bfd)->gp)

Definition at line 1385 of file elf-bfd.h.

◆ elf_gp_size

#define elf_gp_size (   bfd)    (elf_tdata(bfd)->gp_size)

Definition at line 1386 of file elf-bfd.h.

◆ elf_group_id

#define elf_group_id (   sec)    (elf_section_data(sec)->group.id)

Definition at line 1136 of file elf-bfd.h.

◆ elf_group_name

#define elf_group_name (   sec)    (elf_section_data(sec)->group.name)

Definition at line 1135 of file elf-bfd.h.

◆ elf_hash_table

#define elf_hash_table (   p)    ((struct elf_link_hash_table *)((p)->hash))

Definition at line 400 of file elf-bfd.h.

◆ elf_known_obj_attributes

#define elf_known_obj_attributes (   bfd)    (elf_tdata(bfd)->known_obj_attributes)

Definition at line 1395 of file elf-bfd.h.

◆ elf_known_obj_attributes_proc

#define elf_known_obj_attributes_proc (   bfd)     (elf_known_obj_attributes(bfd)[OBJ_ATTR_PROC])

Definition at line 1397 of file elf-bfd.h.

◆ elf_link_hash_lookup

#define elf_link_hash_lookup (   table,
  string,
  create,
  copy,
  follow 
)
Value:
((struct elf_link_hash_entry *) \
bfd_link_hash_lookup(&(table)->root, (string), (create), \
(copy), (follow)))
static RzBuffer * create(RzBin *bin, const ut8 *code, int codelen, const ut8 *data, int datalen, RzBinArchOptions *opt)
Definition: bin_cgc.c:16
Definition: elf-bfd.h:87

Definition at line 386 of file elf-bfd.h.

◆ elf_link_hash_traverse

#define elf_link_hash_traverse (   table,
  func,
  info 
)
Value:
(bfd_boolean(*)(struct bfd_link_hash_entry *, void *))(func), \
(info)))
RzBinInfo * info(RzBinFile *bf)
Definition: bin_ne.c:86
int root
Definition: enough.c:226
int bfd_boolean
Definition: mybfd.h:98
Definition: bfdlink.h:80

Definition at line 393 of file elf-bfd.h.

◆ elf_linked_to_section

#define elf_linked_to_section (   sec)    (elf_section_data(sec)->linked_to)

Definition at line 1132 of file elf-bfd.h.

◆ elf_local_got_ents

#define elf_local_got_ents (   bfd)    (elf_tdata(bfd)->local_got.ents)

Definition at line 1390 of file elf-bfd.h.

◆ elf_local_got_offsets

#define elf_local_got_offsets (   bfd)    (elf_tdata(bfd)->local_got.offsets)

Definition at line 1389 of file elf-bfd.h.

◆ elf_local_got_refcounts

#define elf_local_got_refcounts (   bfd)    (elf_tdata(bfd)->local_got.refcounts)

Definition at line 1388 of file elf-bfd.h.

◆ elf_next_in_group

#define elf_next_in_group (   sec)    (elf_section_data(sec)->next_in_group)

Definition at line 1137 of file elf-bfd.h.

◆ elf_num_globals

#define elf_num_globals (   bfd)    (elf_tdata(bfd)->num_globals)

Definition at line 1380 of file elf-bfd.h.

◆ elf_num_locals

#define elf_num_locals (   bfd)    (elf_tdata(bfd)->num_locals)

Definition at line 1379 of file elf-bfd.h.

◆ elf_num_section_syms

#define elf_num_section_syms (   bfd)    (elf_tdata(bfd)->num_section_syms)

Definition at line 1382 of file elf-bfd.h.

◆ elf_numsections

#define elf_numsections (   bfd)    (elf_tdata(bfd)->num_elf_sections)

Definition at line 1371 of file elf-bfd.h.

◆ elf_onesymtab

#define elf_onesymtab (   bfd)    (elf_tdata(bfd)->symtab_section)

Definition at line 1373 of file elf-bfd.h.

◆ elf_other_obj_attributes

#define elf_other_obj_attributes (   bfd)    (elf_tdata(bfd)->other_obj_attributes)

Definition at line 1396 of file elf-bfd.h.

◆ elf_other_obj_attributes_proc

#define elf_other_obj_attributes_proc (   bfd)     (elf_other_obj_attributes(bfd)[OBJ_ATTR_PROC])

Definition at line 1399 of file elf-bfd.h.

◆ elf_sec_group

#define elf_sec_group (   sec)    (elf_section_data(sec)->sec_group)

Definition at line 1138 of file elf-bfd.h.

◆ elf_section_data

#define elf_section_data (   sec)    ((struct bfd_elf_section_data *)(sec)->used_by_bfd)

Definition at line 1131 of file elf-bfd.h.

◆ elf_section_flags

#define elf_section_flags (   sec)    (elf_section_data(sec)->this_hdr.sh_flags)

Definition at line 1134 of file elf-bfd.h.

◆ elf_section_syms

#define elf_section_syms (   bfd)    (elf_tdata(bfd)->section_syms)

Definition at line 1381 of file elf-bfd.h.

◆ elf_section_type

#define elf_section_type (   sec)    (elf_section_data(sec)->this_hdr.sh_type)

Definition at line 1133 of file elf-bfd.h.

◆ elf_shstrtab

#define elf_shstrtab (   bfd)    (elf_tdata(bfd)->strtab_ptr)

Definition at line 1372 of file elf-bfd.h.

◆ elf_sym_hashes

#define elf_sym_hashes (   bfd)    (elf_tdata(bfd)->sym_hashes)

Definition at line 1387 of file elf-bfd.h.

◆ elf_symbol_from

#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)
@ bfd_target_elf_flavour
Definition: mybfd.h:4597
#define S
Definition: zip_err_str.c:9

Definition at line 461 of file elf-bfd.h.

◆ elf_symtab_shndx

#define elf_symtab_shndx (   bfd)    (elf_tdata(bfd)->symtab_shndx_section)

Definition at line 1374 of file elf-bfd.h.

◆ elf_tdata

#define elf_tdata (   bfd)    ((bfd)->tdata.elf_obj_data)

Definition at line 1368 of file elf-bfd.h.

◆ ElfNAME

#define ElfNAME (   X)    NAME(Elf, X)

Definition at line 53 of file elf-bfd.h.

◆ elfNAME

#define elfNAME (   X)    NAME(elf, X)

Definition at line 54 of file elf-bfd.h.

◆ get_elf_backend_data

#define get_elf_backend_data (   abfd)     xvec_get_elf_backend_data((abfd)->xvec)

Definition at line 1143 of file elf-bfd.h.

◆ is_elf_hash_table

#define is_elf_hash_table (   htab)     (((struct bfd_link_hash_table *)(htab))->type == bfd_link_elf_hash_table)

Definition at line 403 of file elf-bfd.h.

◆ LOCAL_SYM_CACHE_SIZE

#define LOCAL_SYM_CACHE_SIZE   32

Definition at line 408 of file elf-bfd.h.

◆ MAX_INT_RELS_PER_EXT_REL

#define MAX_INT_RELS_PER_EXT_REL   3

Definition at line 429 of file elf-bfd.h.

◆ NAME

#define NAME (   x,
 
)    x##NOSIZE##_##y

Definition at line 50 of file elf-bfd.h.

◆ NUM_KNOWN_OBJ_ATTRIBUTES

#define NUM_KNOWN_OBJ_ATTRIBUTES   32

Definition at line 1184 of file elf-bfd.h.

◆ NUM_SHDR_ENTRIES

#define NUM_SHDR_ENTRIES (   shdr)    ((shdr)->sh_size / (shdr)->sh_entsize)

Definition at line 37 of file elf-bfd.h.

◆ OBJ_ATTR_FIRST

#define OBJ_ATTR_FIRST   OBJ_ATTR_PROC

Definition at line 1207 of file elf-bfd.h.

◆ OBJ_ATTR_GNU

#define OBJ_ATTR_GNU   1

Definition at line 1206 of file elf-bfd.h.

◆ OBJ_ATTR_LAST

#define OBJ_ATTR_LAST   OBJ_ATTR_GNU

Definition at line 1208 of file elf-bfd.h.

◆ OBJ_ATTR_PROC

#define OBJ_ATTR_PROC   0

Definition at line 1205 of file elf-bfd.h.

◆ RELOC_FOR_GLOBAL_SYMBOL

#define RELOC_FOR_GLOBAL_SYMBOL (   info,
  input_bfd,
  input_section,
  rel,
  rz_symndx,
  symtab_hdr,
  sym_hashes,
  h,
  sec,
  relocation,
  unresolved_reloc,
  warned 
)

Definition at line 1747 of file elf-bfd.h.

◆ SYMBOL_CALLS_LOCAL

#define SYMBOL_CALLS_LOCAL (   INFO,
  H 
)     _bfd_elf_symbol_refs_local_p(H, INFO, 1)

Definition at line 226 of file elf-bfd.h.

◆ SYMBOL_REFERENCES_LOCAL

#define SYMBOL_REFERENCES_LOCAL (   INFO,
  H 
)     _bfd_elf_symbol_refs_local_p(H, INFO, 0)

Definition at line 222 of file elf-bfd.h.

◆ SYMBOLIC_BIND

#define SYMBOLIC_BIND (   INFO,
  H 
)     ((INFO)->symbolic || ((INFO)->dynamic && !(H)->dynamic))

Definition at line 1790 of file elf-bfd.h.

◆ WILL_CALL_FINISH_DYNAMIC_SYMBOL

#define WILL_CALL_FINISH_DYNAMIC_SYMBOL (   DYN,
  SHARED,
  H 
)     ((DYN) && ((SHARED) || !(H)->forced_local) && ((H)->dynindx != -1 || (H)->forced_local))

Definition at line 1742 of file elf-bfd.h.

◆ xvec_get_elf_backend_data

#define xvec_get_elf_backend_data (   xvec)     ((const struct elf_backend_data *)(xvec)->backend_data)

Definition at line 1140 of file elf-bfd.h.

Typedef Documentation

◆ elf_gc_mark_hook_fn

typedef asection*(* elf_gc_mark_hook_fn) (asection *, struct bfd_link_info *, Elf_Internal_Rela *, struct elf_link_hash_entry *, Elf_Internal_Sym *)

Definition at line 512 of file elf-bfd.h.

◆ obj_attribute

typedef struct obj_attribute obj_attribute

◆ obj_attribute_list

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
Tag_NULL 
Tag_File 
Tag_Section 
Tag_Symbol 
Tag_compatibility 

Definition at line 1212 of file elf-bfd.h.

1212  {
1213  Tag_NULL = 0,
1214  Tag_File = 1,
1215  Tag_Section = 2,
1216  Tag_Symbol = 3,
1217  Tag_compatibility = 32
1218 };
@ Tag_NULL
Definition: elf-bfd.h:1213
@ Tag_Symbol
Definition: elf-bfd.h:1216
@ Tag_Section
Definition: elf-bfd.h:1215
@ Tag_File
Definition: elf-bfd.h:1214
@ Tag_compatibility
Definition: elf-bfd.h:1217

◆ action_discarded

Enumerator
COMPLAIN 
PRETEND 

Definition at line 507 of file elf-bfd.h.

507  {
508  COMPLAIN = 1,
509  PRETEND = 2
510 };
@ PRETEND
Definition: elf-bfd.h:509
@ COMPLAIN
Definition: elf-bfd.h:508

◆ elf_reloc_type_class

Enumerator
reloc_class_normal 
reloc_class_relative 
reloc_class_plt 
reloc_class_copy 

Definition at line 466 of file elf-bfd.h.

466  {
471 };
@ reloc_class_copy
Definition: elf-bfd.h:470
@ reloc_class_plt
Definition: elf-bfd.h:469
@ reloc_class_relative
Definition: elf-bfd.h:468
@ reloc_class_normal
Definition: elf-bfd.h:467

◆ irix_compat_t

Enumerator
ict_none 
ict_irix5 
ict_irix6 

Definition at line 486 of file elf-bfd.h.

486  {
487  ict_none,
488  ict_irix5,
489  ict_irix6
490 } irix_compat_t;
irix_compat_t
Definition: elf-bfd.h:486
@ ict_irix5
Definition: elf-bfd.h:488
@ ict_irix6
Definition: elf-bfd.h:489
@ ict_none
Definition: elf-bfd.h:487

Function Documentation

◆ _bfd_dwarf2_cleanup_debug_info()

void _bfd_dwarf2_cleanup_debug_info ( bfd )

◆ _bfd_elf32_bfd_from_remote_memory()

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_elf64_bfd_from_remote_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_elf_add_default_symbol()

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   
)

◆ _bfd_elf_add_dynamic_entry()

bfd_boolean _bfd_elf_add_dynamic_entry ( struct bfd_link_info ,
bfd_vma  ,
bfd_vma   
)

◆ _bfd_elf_adjust_dynamic_copy()

bfd_boolean _bfd_elf_adjust_dynamic_copy ( struct elf_link_hash_entry ,
asection  
)

◆ _bfd_elf_adjust_dynamic_symbol()

bfd_boolean _bfd_elf_adjust_dynamic_symbol ( struct elf_link_hash_entry ,
void *   
)

◆ _bfd_elf_archive_symbol_lookup()

struct elf_link_hash_entry* _bfd_elf_archive_symbol_lookup ( bfd ,
struct bfd_link_info ,
const char *   
)

◆ _bfd_elf_assign_file_position_for_section()

file_ptr _bfd_elf_assign_file_position_for_section ( Elf_Internal_Shdr ,
file_ptr  ,
bfd_boolean   
)

◆ _bfd_elf_assign_file_positions_for_relocs()

void _bfd_elf_assign_file_positions_for_relocs ( bfd )

◆ _bfd_elf_attr_strdup()

char* _bfd_elf_attr_strdup ( bfd ,
const char *   
)

◆ _bfd_elf_can_make_relative()

bfd_boolean _bfd_elf_can_make_relative ( bfd input_bfd,
struct bfd_link_info info,
asection eh_frame_section 
)

◆ _bfd_elf_canonicalize_dynamic_reloc()

long _bfd_elf_canonicalize_dynamic_reloc ( bfd ,
arelent **  ,
asymbol **   
)

◆ _bfd_elf_canonicalize_dynamic_symtab()

long _bfd_elf_canonicalize_dynamic_symtab ( bfd ,
asymbol **   
)

◆ _bfd_elf_canonicalize_reloc()

long _bfd_elf_canonicalize_reloc ( bfd ,
sec_ptr  ,
arelent **  ,
asymbol **   
)

◆ _bfd_elf_canonicalize_symtab()

long _bfd_elf_canonicalize_symtab ( bfd ,
asymbol **   
)

◆ _bfd_elf_check_kept_section()

asection* _bfd_elf_check_kept_section ( asection ,
struct bfd_link_info  
)

◆ _bfd_elf_close_and_cleanup()

bfd_boolean _bfd_elf_close_and_cleanup ( bfd )

◆ _bfd_elf_common_definition()

bfd_boolean _bfd_elf_common_definition ( Elf_Internal_Sym )

◆ _bfd_elf_common_section()

asection* _bfd_elf_common_section ( asection )

◆ _bfd_elf_common_section_index()

unsigned int _bfd_elf_common_section_index ( asection )

◆ _bfd_elf_compute_section_file_positions()

bfd_boolean _bfd_elf_compute_section_file_positions ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_copy_obj_attributes()

void _bfd_elf_copy_obj_attributes ( bfd ,
bfd  
)

◆ _bfd_elf_copy_private_bfd_data()

bfd_boolean _bfd_elf_copy_private_bfd_data ( bfd ,
bfd  
)

◆ _bfd_elf_copy_private_header_data()

bfd_boolean _bfd_elf_copy_private_header_data ( bfd ,
bfd  
)

◆ _bfd_elf_copy_private_section_data()

bfd_boolean _bfd_elf_copy_private_section_data ( bfd ,
asection ,
bfd ,
asection  
)

◆ _bfd_elf_copy_private_symbol_data()

bfd_boolean _bfd_elf_copy_private_symbol_data ( bfd ,
asymbol ,
bfd ,
asymbol  
)

◆ _bfd_elf_create_dynamic_sections()

bfd_boolean _bfd_elf_create_dynamic_sections ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_create_got_section()

bfd_boolean _bfd_elf_create_got_section ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_define_linkage_sym()

struct elf_link_hash_entry* _bfd_elf_define_linkage_sym ( bfd ,
struct bfd_link_info ,
asection ,
const char *   
)

◆ _bfd_elf_discard_section_eh_frame()

bfd_boolean _bfd_elf_discard_section_eh_frame ( bfd ,
struct bfd_link_info ,
asection ,
bfd_boolean(*)(bfd_vma, void *)  ,
struct elf_reloc_cookie  
)

◆ _bfd_elf_discard_section_eh_frame_hdr()

bfd_boolean _bfd_elf_discard_section_eh_frame_hdr ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_dynamic_symbol_p()

bfd_boolean _bfd_elf_dynamic_symbol_p ( struct elf_link_hash_entry ,
struct bfd_link_info ,
bfd_boolean   
)

◆ _bfd_elf_eh_frame_address_size()

unsigned int _bfd_elf_eh_frame_address_size ( bfd ,
asection  
)

◆ _bfd_elf_eh_frame_section_offset()

bfd_vma _bfd_elf_eh_frame_section_offset ( bfd ,
struct bfd_link_info ,
asection ,
bfd_vma   
)

◆ _bfd_elf_encode_eh_address()

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 
)

◆ _bfd_elf_export_symbol()

bfd_boolean _bfd_elf_export_symbol ( struct elf_link_hash_entry ,
void *   
)

◆ _bfd_elf_find_inliner_info()

bfd_boolean _bfd_elf_find_inliner_info ( bfd ,
const char **  ,
const char **  ,
unsigned int  
)

◆ _bfd_elf_find_line()

bfd_boolean _bfd_elf_find_line ( bfd ,
asymbol **  ,
asymbol ,
const char **  ,
unsigned int  
)

◆ _bfd_elf_find_nearest_line()

bfd_boolean _bfd_elf_find_nearest_line ( bfd ,
asection ,
asymbol **  ,
bfd_vma  ,
const char **  ,
const char **  ,
unsigned int  
)

◆ _bfd_elf_fix_symbol_flags()

bfd_boolean _bfd_elf_fix_symbol_flags ( struct elf_link_hash_entry ,
struct elf_info_failed  
)

◆ _bfd_elf_fprintf_vma()

void _bfd_elf_fprintf_vma ( bfd ,
void *  ,
bfd_vma   
)

◆ _bfd_elf_gc_mark()

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 * 
)

◆ _bfd_elf_gc_mark_hook()

asection* _bfd_elf_gc_mark_hook ( asection ,
struct bfd_link_info ,
Elf_Internal_Rela ,
struct elf_link_hash_entry ,
Elf_Internal_Sym  
)

◆ _bfd_elf_get_dynamic_reloc_upper_bound()

long _bfd_elf_get_dynamic_reloc_upper_bound ( bfd )

◆ _bfd_elf_get_dynamic_symtab_upper_bound()

long _bfd_elf_get_dynamic_symtab_upper_bound ( bfd )

◆ _bfd_elf_get_lineno()

alent* _bfd_elf_get_lineno ( bfd ,
asymbol  
)

◆ _bfd_elf_get_reloc_upper_bound()

long _bfd_elf_get_reloc_upper_bound ( bfd ,
sec_ptr   
)

◆ _bfd_elf_get_sec_type_attr()

const struct bfd_elf_special_section* _bfd_elf_get_sec_type_attr ( bfd ,
asection  
)

◆ _bfd_elf_get_special_section()

const struct bfd_elf_special_section* _bfd_elf_get_special_section ( const char *  ,
const struct bfd_elf_special_section ,
unsigned int   
)

◆ _bfd_elf_get_symbol_info()

void _bfd_elf_get_symbol_info ( bfd ,
asymbol ,
symbol_info  
)

◆ _bfd_elf_get_symtab_upper_bound()

long _bfd_elf_get_symtab_upper_bound ( bfd )

◆ _bfd_elf_get_synthetic_symtab()

long _bfd_elf_get_synthetic_symtab ( bfd ,
long  ,
asymbol **  ,
long  ,
asymbol **  ,
asymbol **   
)

◆ _bfd_elf_hash_symbol()

bfd_boolean _bfd_elf_hash_symbol ( struct elf_link_hash_entry )

◆ _bfd_elf_init_1_index_section()

void _bfd_elf_init_1_index_section ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_init_2_index_sections()

void _bfd_elf_init_2_index_sections ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_init_private_section_data()

bfd_boolean _bfd_elf_init_private_section_data ( bfd ,
asection ,
bfd ,
asection ,
struct bfd_link_info  
)

◆ _bfd_elf_init_reloc_shdr()

bfd_boolean _bfd_elf_init_reloc_shdr ( bfd ,
Elf_Internal_Shdr ,
asection ,
bfd_boolean   
)

◆ _bfd_elf_is_function_type()

bfd_boolean _bfd_elf_is_function_type ( unsigned int  )

◆ _bfd_elf_is_local_label_name()

bfd_boolean _bfd_elf_is_local_label_name ( bfd ,
const char *   
)

◆ _bfd_elf_link_assign_sym_version()

bfd_boolean _bfd_elf_link_assign_sym_version ( struct elf_link_hash_entry ,
void *   
)

◆ _bfd_elf_link_create_dynamic_sections()

bfd_boolean _bfd_elf_link_create_dynamic_sections ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_link_find_version_dependencies()

bfd_boolean _bfd_elf_link_find_version_dependencies ( struct elf_link_hash_entry ,
void *   
)

◆ _bfd_elf_link_hash_copy_indirect()

void _bfd_elf_link_hash_copy_indirect ( struct bfd_link_info ,
struct elf_link_hash_entry ,
struct elf_link_hash_entry  
)

◆ _bfd_elf_link_hash_fixup_symbol()

bfd_boolean _bfd_elf_link_hash_fixup_symbol ( struct bfd_link_info ,
struct elf_link_hash_entry  
)

◆ _bfd_elf_link_hash_hide_symbol()

void _bfd_elf_link_hash_hide_symbol ( struct bfd_link_info ,
struct elf_link_hash_entry ,
bfd_boolean   
)

◆ _bfd_elf_link_hash_newfunc()

struct bfd_hash_entry* _bfd_elf_link_hash_newfunc ( struct bfd_hash_entry ,
struct bfd_hash_table ,
const char *   
)

◆ _bfd_elf_link_hash_table_create()

struct bfd_link_hash_table* _bfd_elf_link_hash_table_create ( bfd )

◆ _bfd_elf_link_hash_table_init()

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 *,
unsigned int   
)

◆ _bfd_elf_link_just_syms()

void _bfd_elf_link_just_syms ( asection ,
struct bfd_link_info  
)

◆ _bfd_elf_link_lookup_local_dynindx()

long _bfd_elf_link_lookup_local_dynindx ( struct bfd_link_info ,
bfd ,
long   
)

◆ _bfd_elf_link_omit_section_dynsym()

bfd_boolean _bfd_elf_link_omit_section_dynsym ( bfd ,
struct bfd_link_info ,
asection  
)

◆ _bfd_elf_link_output_relocs()

bfd_boolean _bfd_elf_link_output_relocs ( bfd ,
asection ,
Elf_Internal_Shdr ,
Elf_Internal_Rela ,
struct elf_link_hash_entry **   
)

◆ _bfd_elf_link_read_relocs()

Elf_Internal_Rela* _bfd_elf_link_read_relocs ( bfd ,
asection ,
void *  ,
Elf_Internal_Rela ,
bfd_boolean   
)

◆ _bfd_elf_link_sec_merge_syms()

bfd_boolean _bfd_elf_link_sec_merge_syms ( struct elf_link_hash_entry ,
void *   
)

◆ _bfd_elf_link_size_reloc_section()

bfd_boolean _bfd_elf_link_size_reloc_section ( bfd ,
Elf_Internal_Shdr ,
asection  
)

◆ _bfd_elf_make_dynamic_segment()

struct elf_segment_map* _bfd_elf_make_dynamic_segment ( bfd ,
asection  
)

◆ _bfd_elf_make_empty_symbol()

asymbol* _bfd_elf_make_empty_symbol ( bfd )

◆ _bfd_elf_make_section_from_phdr()

bfd_boolean _bfd_elf_make_section_from_phdr ( bfd ,
Elf_Internal_Phdr ,
int  ,
const char *   
)

◆ _bfd_elf_make_section_from_shdr()

bfd_boolean _bfd_elf_make_section_from_shdr ( bfd ,
Elf_Internal_Shdr ,
const char *  ,
int   
)

◆ _bfd_elf_map_sections_to_segments()

bfd_boolean _bfd_elf_map_sections_to_segments ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_match_sections_by_type()

bfd_boolean _bfd_elf_match_sections_by_type ( bfd ,
const asection ,
bfd ,
const asection  
)

◆ _bfd_elf_maybe_strip_eh_frame_hdr()

bfd_boolean _bfd_elf_maybe_strip_eh_frame_hdr ( struct bfd_link_info )

◆ _bfd_elf_merge_object_attributes()

bfd_boolean _bfd_elf_merge_object_attributes ( bfd ,
bfd  
)

◆ _bfd_elf_merge_sections()

bfd_boolean _bfd_elf_merge_sections ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_merge_symbol()

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  
)

◆ _bfd_elf_new_section_hook()

bfd_boolean _bfd_elf_new_section_hook ( bfd ,
asection  
)

◆ _bfd_elf_no_info_to_howto()

void _bfd_elf_no_info_to_howto ( bfd ,
arelent ,
Elf_Internal_Rela  
)

◆ _bfd_elf_obj_attrs_arg_type()

int _bfd_elf_obj_attrs_arg_type ( bfd ,
int  ,
int   
)

◆ _bfd_elf_parse_attributes()

void _bfd_elf_parse_attributes ( bfd ,
Elf_Internal_Shdr  
)

◆ _bfd_elf_print_private_bfd_data()

bfd_boolean _bfd_elf_print_private_bfd_data ( bfd ,
void *   
)

◆ _bfd_elf_rel_local_sym()

bfd_vma _bfd_elf_rel_local_sym ( bfd ,
Elf_Internal_Sym ,
asection **  ,
bfd_vma   
)

◆ _bfd_elf_rel_vtable_reloc_fn()

bfd_reloc_status_type _bfd_elf_rel_vtable_reloc_fn ( bfd ,
arelent ,
struct bfd_symbol ,
void *  ,
asection ,
bfd ,
char **   
)

◆ _bfd_elf_rela_local_sym()

bfd_vma _bfd_elf_rela_local_sym ( bfd ,
Elf_Internal_Sym ,
asection **  ,
Elf_Internal_Rela  
)

◆ _bfd_elf_reloc_type_class()

enum elf_reloc_type_class _bfd_elf_reloc_type_class ( const Elf_Internal_Rela )

◆ _bfd_elf_section_already_linked()

void _bfd_elf_section_already_linked ( bfd ,
struct bfd_section ,
struct bfd_link_info  
)

◆ _bfd_elf_section_from_bfd_section()

int _bfd_elf_section_from_bfd_section ( bfd ,
asection  
)

◆ _bfd_elf_section_offset()

bfd_vma _bfd_elf_section_offset ( bfd ,
struct bfd_link_info ,
asection ,
bfd_vma   
)

◆ _bfd_elf_set_arch_mach()

bfd_boolean _bfd_elf_set_arch_mach ( bfd ,
enum  bfd_architecture,
unsigned long   
)

◆ _bfd_elf_set_osabi()

void _bfd_elf_set_osabi ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_set_section_contents()

bfd_boolean _bfd_elf_set_section_contents ( bfd ,
sec_ptr  ,
const void *  ,
file_ptr  ,
bfd_size_type   
)

◆ _bfd_elf_setup_sections()

bfd_boolean _bfd_elf_setup_sections ( bfd )

◆ _bfd_elf_sizeof_headers()

int _bfd_elf_sizeof_headers ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elf_slurp_version_tables()

bfd_boolean _bfd_elf_slurp_version_tables ( bfd ,
bfd_boolean   
)

◆ _bfd_elf_sprintf_vma()

void _bfd_elf_sprintf_vma ( bfd ,
char *  ,
bfd_vma   
)

◆ _bfd_elf_stringtab_init()

struct bfd_strtab_hash* _bfd_elf_stringtab_init ( void  )

◆ _bfd_elf_strtab_add()

bfd_size_type _bfd_elf_strtab_add ( struct elf_strtab_hash *  ,
const char *  ,
bfd_boolean   
)

◆ _bfd_elf_strtab_addref()

void _bfd_elf_strtab_addref ( struct elf_strtab_hash *  ,
bfd_size_type   
)

◆ _bfd_elf_strtab_clear_all_refs()

void _bfd_elf_strtab_clear_all_refs ( struct elf_strtab_hash *  )

◆ _bfd_elf_strtab_delref()

void _bfd_elf_strtab_delref ( struct elf_strtab_hash *  ,
bfd_size_type   
)

◆ _bfd_elf_strtab_emit()

bfd_boolean _bfd_elf_strtab_emit ( bfd ,
struct elf_strtab_hash *   
)

◆ _bfd_elf_strtab_finalize()

void _bfd_elf_strtab_finalize ( struct elf_strtab_hash *  )

◆ _bfd_elf_strtab_free()

void _bfd_elf_strtab_free ( struct elf_strtab_hash *  )

◆ _bfd_elf_strtab_init()

struct elf_strtab_hash* _bfd_elf_strtab_init ( void  )

◆ _bfd_elf_strtab_offset()

bfd_size_type _bfd_elf_strtab_offset ( struct elf_strtab_hash *  ,
bfd_size_type   
)

◆ _bfd_elf_strtab_size()

bfd_size_type _bfd_elf_strtab_size ( struct elf_strtab_hash *  )

◆ _bfd_elf_swap_verdaux_in()

void _bfd_elf_swap_verdaux_in ( bfd ,
const Elf_External_Verdaux ,
Elf_Internal_Verdaux  
)

◆ _bfd_elf_swap_verdaux_out()

void _bfd_elf_swap_verdaux_out ( bfd ,
const Elf_Internal_Verdaux ,
Elf_External_Verdaux  
)

◆ _bfd_elf_swap_verdef_in()

void _bfd_elf_swap_verdef_in ( bfd ,
const Elf_External_Verdef ,
Elf_Internal_Verdef  
)

◆ _bfd_elf_swap_verdef_out()

void _bfd_elf_swap_verdef_out ( bfd ,
const Elf_Internal_Verdef ,
Elf_External_Verdef  
)

◆ _bfd_elf_swap_vernaux_in()

void _bfd_elf_swap_vernaux_in ( bfd ,
const Elf_External_Vernaux ,
Elf_Internal_Vernaux  
)

◆ _bfd_elf_swap_vernaux_out()

void _bfd_elf_swap_vernaux_out ( bfd ,
const Elf_Internal_Vernaux ,
Elf_External_Vernaux  
)

◆ _bfd_elf_swap_verneed_in()

void _bfd_elf_swap_verneed_in ( bfd ,
const Elf_External_Verneed ,
Elf_Internal_Verneed  
)

◆ _bfd_elf_swap_verneed_out()

void _bfd_elf_swap_verneed_out ( bfd ,
const Elf_Internal_Verneed ,
Elf_External_Verneed  
)

◆ _bfd_elf_swap_versym_in()

void _bfd_elf_swap_versym_in ( bfd ,
const Elf_External_Versym *  ,
Elf_Internal_Versym  
)

◆ _bfd_elf_swap_versym_out()

void _bfd_elf_swap_versym_out ( bfd ,
const Elf_Internal_Versym ,
Elf_External_Versym *   
)

◆ _bfd_elf_symbol_from_bfd_symbol()

int _bfd_elf_symbol_from_bfd_symbol ( bfd ,
asymbol **   
)

◆ _bfd_elf_symbol_refs_local_p()

bfd_boolean _bfd_elf_symbol_refs_local_p ( struct elf_link_hash_entry ,
struct bfd_link_info ,
bfd_boolean   
)

◆ _bfd_elf_validate_reloc()

bfd_boolean _bfd_elf_validate_reloc ( bfd ,
arelent  
)

◆ _bfd_elf_write_corefile_contents()

bfd_boolean _bfd_elf_write_corefile_contents ( bfd )

◆ _bfd_elf_write_object_contents()

bfd_boolean _bfd_elf_write_object_contents ( bfd )

◆ _bfd_elf_write_section_eh_frame()

bfd_boolean _bfd_elf_write_section_eh_frame ( bfd ,
struct bfd_link_info ,
asection ,
bfd_byte  
)

◆ _bfd_elf_write_section_eh_frame_hdr()

bfd_boolean _bfd_elf_write_section_eh_frame_hdr ( bfd ,
struct bfd_link_info  
)

◆ _bfd_elfcore_make_pseudosection()

bfd_boolean _bfd_elfcore_make_pseudosection ( bfd ,
char *  ,
size_t  ,
ufile_ptr   
)

◆ _bfd_elfcore_strndup()

char* _bfd_elfcore_strndup ( bfd ,
char *  ,
size_t   
)

◆ _sh_elf_set_mach_from_flags()

bfd_boolean _sh_elf_set_mach_from_flags ( bfd )

◆ bfd_elf32_checksum_contents()

bfd_boolean bfd_elf32_checksum_contents ( bfd ,
void(*)(const void *, size_t, void *)  ,
void *   
)

◆ bfd_elf32_core_file_failing_command()

char* bfd_elf32_core_file_failing_command ( bfd )

◆ bfd_elf32_core_file_failing_signal()

int bfd_elf32_core_file_failing_signal ( bfd )

◆ bfd_elf32_core_file_matches_executable_p()

bfd_boolean bfd_elf32_core_file_matches_executable_p ( bfd ,
bfd  
)

◆ bfd_elf32_core_file_p()

const bfd_target* bfd_elf32_core_file_p ( bfd )

◆ bfd_elf32_object_p()

const bfd_target* bfd_elf32_object_p ( bfd )

◆ bfd_elf32_slurp_reloc_table()

bfd_boolean bfd_elf32_slurp_reloc_table ( bfd ,
asection ,
asymbol **  ,
bfd_boolean   
)

◆ bfd_elf32_slurp_symbol_table()

long bfd_elf32_slurp_symbol_table ( bfd ,
asymbol **  ,
bfd_boolean   
)

◆ bfd_elf32_swap_dyn_in()

void bfd_elf32_swap_dyn_in ( bfd ,
const void *  ,
Elf_Internal_Dyn  
)

◆ bfd_elf32_swap_dyn_out()

void bfd_elf32_swap_dyn_out ( bfd ,
const Elf_Internal_Dyn ,
void *   
)

◆ bfd_elf32_swap_phdr_in()

void bfd_elf32_swap_phdr_in ( bfd ,
const Elf32_External_Phdr ,
Elf_Internal_Phdr  
)

◆ bfd_elf32_swap_phdr_out()

void bfd_elf32_swap_phdr_out ( bfd ,
const Elf_Internal_Phdr ,
Elf32_External_Phdr  
)

◆ bfd_elf32_swap_reloc_in()

void bfd_elf32_swap_reloc_in ( bfd ,
const bfd_byte ,
Elf_Internal_Rela  
)

◆ bfd_elf32_swap_reloc_out()

void bfd_elf32_swap_reloc_out ( bfd ,
const Elf_Internal_Rela ,
bfd_byte  
)

◆ bfd_elf32_swap_reloca_in()

void bfd_elf32_swap_reloca_in ( bfd ,
const bfd_byte ,
Elf_Internal_Rela  
)

◆ bfd_elf32_swap_reloca_out()

void bfd_elf32_swap_reloca_out ( bfd ,
const Elf_Internal_Rela ,
bfd_byte  
)

◆ bfd_elf32_swap_symbol_in()

bfd_boolean bfd_elf32_swap_symbol_in ( bfd ,
const void *  ,
const void *  ,
Elf_Internal_Sym  
)

◆ bfd_elf32_swap_symbol_out()

void bfd_elf32_swap_symbol_out ( bfd ,
const Elf_Internal_Sym ,
void *  ,
void *   
)

◆ bfd_elf32_write_out_phdrs()

int bfd_elf32_write_out_phdrs ( bfd ,
const Elf_Internal_Phdr ,
unsigned int   
)

◆ bfd_elf32_write_relocs()

void bfd_elf32_write_relocs ( bfd ,
asection ,
void *   
)

◆ bfd_elf32_write_shdrs_and_ehdr()

bfd_boolean bfd_elf32_write_shdrs_and_ehdr ( bfd )

◆ bfd_elf64_checksum_contents()

bfd_boolean bfd_elf64_checksum_contents ( bfd ,
void(*)(const void *, size_t, void *)  ,
void *   
)

◆ bfd_elf64_core_file_failing_command()

char* bfd_elf64_core_file_failing_command ( bfd )

◆ bfd_elf64_core_file_failing_signal()

int bfd_elf64_core_file_failing_signal ( bfd )

◆ bfd_elf64_core_file_matches_executable_p()

bfd_boolean bfd_elf64_core_file_matches_executable_p ( bfd ,
bfd  
)

◆ bfd_elf64_core_file_p()

const bfd_target* bfd_elf64_core_file_p ( bfd )

◆ bfd_elf64_object_p()

const bfd_target* bfd_elf64_object_p ( bfd )

◆ bfd_elf64_slurp_reloc_table()

bfd_boolean bfd_elf64_slurp_reloc_table ( bfd ,
asection ,
asymbol **  ,
bfd_boolean   
)

◆ bfd_elf64_slurp_symbol_table()

long bfd_elf64_slurp_symbol_table ( bfd ,
asymbol **  ,
bfd_boolean   
)

◆ bfd_elf64_swap_dyn_in()

void bfd_elf64_swap_dyn_in ( bfd ,
const void *  ,
Elf_Internal_Dyn  
)

◆ bfd_elf64_swap_dyn_out()

void bfd_elf64_swap_dyn_out ( bfd ,
const Elf_Internal_Dyn ,
void *   
)

◆ bfd_elf64_swap_phdr_in()

void bfd_elf64_swap_phdr_in ( bfd ,
const Elf64_External_Phdr ,
Elf_Internal_Phdr  
)

◆ bfd_elf64_swap_phdr_out()

void bfd_elf64_swap_phdr_out ( bfd ,
const Elf_Internal_Phdr ,
Elf64_External_Phdr  
)

◆ bfd_elf64_swap_reloc_in()

void bfd_elf64_swap_reloc_in ( bfd ,
const bfd_byte ,
Elf_Internal_Rela  
)

◆ bfd_elf64_swap_reloc_out()

void bfd_elf64_swap_reloc_out ( bfd ,
const Elf_Internal_Rela ,
bfd_byte  
)

◆ bfd_elf64_swap_reloca_in()

void bfd_elf64_swap_reloca_in ( bfd ,
const bfd_byte ,
Elf_Internal_Rela  
)

◆ bfd_elf64_swap_reloca_out()

void bfd_elf64_swap_reloca_out ( bfd ,
const Elf_Internal_Rela ,
bfd_byte  
)

◆ bfd_elf64_swap_symbol_in()

bfd_boolean bfd_elf64_swap_symbol_in ( bfd ,
const void *  ,
const void *  ,
Elf_Internal_Sym  
)

◆ bfd_elf64_swap_symbol_out()

void bfd_elf64_swap_symbol_out ( bfd ,
const Elf_Internal_Sym ,
void *  ,
void *   
)

◆ bfd_elf64_write_out_phdrs()

int bfd_elf64_write_out_phdrs ( bfd ,
const Elf_Internal_Phdr ,
unsigned int   
)

◆ bfd_elf64_write_relocs()

void bfd_elf64_write_relocs ( bfd ,
asection ,
void *   
)

◆ bfd_elf64_write_shdrs_and_ehdr()

bfd_boolean bfd_elf64_write_shdrs_and_ehdr ( bfd )

◆ bfd_elf_add_obj_attr_compat()

void bfd_elf_add_obj_attr_compat ( bfd ,
int  ,
unsigned int  ,
const char *   
)

◆ bfd_elf_add_obj_attr_int()

void bfd_elf_add_obj_attr_int ( bfd ,
int  ,
int  ,
unsigned int   
)

◆ bfd_elf_add_obj_attr_string()

void bfd_elf_add_obj_attr_string ( bfd ,
int  ,
int  ,
const char *   
)

◆ bfd_elf_final_link()

bfd_boolean bfd_elf_final_link ( bfd ,
struct bfd_link_info  
)

◆ bfd_elf_find_section()

Elf_Internal_Shdr* bfd_elf_find_section ( bfd ,
char *   
)

◆ bfd_elf_gc_common_final_link()

bfd_boolean bfd_elf_gc_common_final_link ( bfd ,
struct bfd_link_info  
)

◆ bfd_elf_gc_common_finalize_got_offsets()

bfd_boolean bfd_elf_gc_common_finalize_got_offsets ( bfd ,
struct bfd_link_info  
)

◆ bfd_elf_gc_mark_dynamic_ref_symbol()

bfd_boolean bfd_elf_gc_mark_dynamic_ref_symbol ( struct elf_link_hash_entry h,
void *  inf 
)

◆ bfd_elf_gc_record_vtentry()

bfd_boolean bfd_elf_gc_record_vtentry ( bfd ,
asection ,
struct elf_link_hash_entry ,
bfd_vma   
)

◆ bfd_elf_gc_record_vtinherit()

bfd_boolean bfd_elf_gc_record_vtinherit ( bfd ,
asection ,
struct elf_link_hash_entry ,
bfd_vma   
)

◆ bfd_elf_gc_sections()

bfd_boolean bfd_elf_gc_sections ( bfd ,
struct bfd_link_info  
)

◆ bfd_elf_generic_reloc()

bfd_reloc_status_type bfd_elf_generic_reloc ( bfd ,
arelent ,
asymbol ,
void *  ,
asection ,
bfd ,
char **   
)

◆ bfd_elf_get_elf_syms()

Elf_Internal_Sym* bfd_elf_get_elf_syms ( bfd ,
Elf_Internal_Shdr ,
size_t  ,
size_t  ,
Elf_Internal_Sym ,
void *  ,
Elf_External_Sym_Shndx  
)

◆ bfd_elf_get_obj_attr_int()

int bfd_elf_get_obj_attr_int ( bfd ,
int  ,
int   
)

◆ bfd_elf_get_str_section()

char* bfd_elf_get_str_section ( bfd ,
unsigned   
)

◆ bfd_elf_gnu_hash()

unsigned long bfd_elf_gnu_hash ( const char *  )

◆ bfd_elf_hash()

unsigned long bfd_elf_hash ( const char *  )

◆ bfd_elf_is_group_section()

bfd_boolean bfd_elf_is_group_section ( bfd ,
const struct bfd_section  
)

◆ bfd_elf_link_add_symbols()

bfd_boolean bfd_elf_link_add_symbols ( bfd ,
struct bfd_link_info  
)

◆ bfd_elf_link_mark_dynamic_symbol()

void bfd_elf_link_mark_dynamic_symbol ( struct bfd_link_info ,
struct elf_link_hash_entry ,
Elf_Internal_Sym  
)

◆ bfd_elf_link_record_dynamic_symbol()

bfd_boolean bfd_elf_link_record_dynamic_symbol ( struct bfd_link_info ,
struct elf_link_hash_entry  
)

◆ bfd_elf_link_record_local_dynamic_symbol()

int bfd_elf_link_record_local_dynamic_symbol ( struct bfd_link_info ,
bfd ,
long   
)

◆ bfd_elf_match_symbols_in_sections()

bfd_boolean bfd_elf_match_symbols_in_sections ( asection ,
asection ,
struct bfd_link_info  
)

◆ bfd_elf_mkcorefile()

bfd_boolean bfd_elf_mkcorefile ( bfd )

◆ bfd_elf_mkobject()

bfd_boolean bfd_elf_mkobject ( bfd )

◆ bfd_elf_obj_attr_size()

bfd_vma bfd_elf_obj_attr_size ( bfd )

◆ bfd_elf_perform_complex_relocation()

void bfd_elf_perform_complex_relocation ( bfd *output_bfd  ATTRIBUTE_UNUSED,
struct bfd_link_info info,
bfd input_bfd,
asection input_section,
bfd_byte contents,
Elf_Internal_Rela rel,
Elf_Internal_Sym local_syms,
asection **  local_sections 
)

◆ bfd_elf_print_symbol()

void bfd_elf_print_symbol ( bfd ,
void *  ,
asymbol ,
bfd_print_symbol_type   
)

◆ bfd_elf_reloc_symbol_deleted_p()

bfd_boolean bfd_elf_reloc_symbol_deleted_p ( bfd_vma  ,
void *   
)

◆ bfd_elf_set_group_contents()

void bfd_elf_set_group_contents ( bfd ,
asection ,
void *   
)

◆ bfd_elf_set_obj_attr_contents()

void bfd_elf_set_obj_attr_contents ( bfd ,
bfd_byte ,
bfd_vma   
)

◆ bfd_elf_string_from_elf_section()

char* bfd_elf_string_from_elf_section ( bfd ,
unsigned  ,
unsigned   
)

◆ bfd_elf_sym_name()

const char* bfd_elf_sym_name ( bfd ,
Elf_Internal_Shdr ,
Elf_Internal_Sym ,
asection  
)

◆ bfd_section_from_elf_index()

asection* bfd_section_from_elf_index ( bfd ,
unsigned int   
)

◆ bfd_section_from_phdr()

bfd_boolean bfd_section_from_phdr ( bfd ,
Elf_Internal_Phdr ,
int   
)

◆ bfd_section_from_r_symndx()

asection* bfd_section_from_r_symndx ( bfd ,
struct sym_sec_cache ,
asection ,
unsigned long   
)

◆ bfd_section_from_shdr()

bfd_boolean bfd_section_from_shdr ( bfd ,
unsigned int  shindex 
)

◆ elfcore_write_lwpstatus()

char* elfcore_write_lwpstatus ( bfd ,
char *  ,
int ,
long  ,
int  ,
const void *   
)

◆ elfcore_write_note()

char* elfcore_write_note ( bfd ,
char *  ,
int ,
const char *  ,
int  ,
const void *  ,
int   
)

◆ elfcore_write_prfpreg()

char* elfcore_write_prfpreg ( bfd ,
char *  ,
int ,
const void *  ,
int   
)

◆ elfcore_write_prpsinfo()

char* elfcore_write_prpsinfo ( bfd ,
char *  ,
int ,
const char *  ,
const char *   
)

◆ elfcore_write_prstatus()

char* elfcore_write_prstatus ( bfd ,
char *  ,
int ,
long  ,
int  ,
const void *   
)

◆ elfcore_write_prxfpreg()

char* elfcore_write_prxfpreg ( bfd ,
char *  ,
int ,
const void *  ,
int   
)

◆ elfcore_write_pstatus()

char* elfcore_write_pstatus ( bfd ,
char *  ,
int ,
long  ,
int  ,
const void *   
)

Variable Documentation

◆ _bfd_elf_large_com_section

asection _bfd_elf_large_com_section
extern