osprey/cygnus/bfd/elf-bfd.h File Reference

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

Include dependency graph for elf-bfd.h:

Go to the source code of this file.

Data Types

type  elf_symbol_type
type  elf_link_hash_entry
union  elf_link_hash_entry::gotplt_union
type  elf_link_local_dynamic_entry
type  elf_link_loaded_list
type  cie_header
type  cie
type  eh_cie_fde
type  eh_frame_sec_info
type  eh_frame_array_ent
type  eh_frame_hdr_info
type  elf_link_hash_table
type  sym_sec_cache
type  elf_size_info
type  elf_reloc_cookie
type  bfd_elf_special_section
type  elf_backend_data
type  bfd_elf_section_data
type  elf_info_failed
type  elf_assign_sym_version_info
type  elf_find_verdep_info
type  elf_obj_tdata

Defines

#define _LIBELF_H_   1
#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)
#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 elf_discarded_section(sec)
#define get_elf_backend_data(abfd)   ((const struct elf_backend_data *) (abfd)->xvec->backend_data)
#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 _bfd_elf_read_minisymbols   _bfd_generic_read_minisymbols
#define _bfd_elf_minisymbol_to_symbol   _bfd_generic_minisymbol_to_symbol
#define WILL_CALL_FINISH_DYNAMIC_SYMBOL(DYN, SHARED, H)
#define RELOC_FOR_GLOBAL_SYMBOL(info, input_bfd, input_section, rel, r_symndx, symtab_hdr, sym_hashes, h, sec, relocation,unresolved_reloc, warned)

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 }

Functions/Subroutines

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 *)
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 *)
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 *)
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 (const struct elf_backend_data *, 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_table_init (struct elf_link_hash_table *, bfd *, struct bfd_hash_entry *(*)(struct bfd_hash_entry *, struct bfd_hash_table *, const char *))
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_is_group_section (bfd *, const struct bfd_section *)
void _bfd_elf_section_already_linked (bfd *, struct bfd_section *)
void bfd_elf_set_group_contents (bfd *, asection *, void *)
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_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 *)
int _bfd_elf_sizeof_headers (bfd *, bfd_boolean)
bfd_boolean _bfd_elf_new_section_hook (bfd *, asection *)
bfd_boolean _bfd_elf_init_reloc_shdr (bfd *, Elf_Internal_Shdr *, asection *, bfd_boolean)
struct bfd_elf_special_section_bfd_elf_get_sec_type_attr (bfd *, const char *)
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_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 *)
unsigned long _bfd_elf_link_renumber_dynsyms (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 *)
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_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 *sec1, asection *sec2)
bfd_boolean _bfd_elf_setup_group_pointers (bfd *)
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 *)
void 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)
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 *)
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 *)
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)
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)
bfd_boolean _bfd_elf_close_and_cleanup (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_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)
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 *)
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_boolean _sh_elf_set_mach_from_flags (bfd *)


Define Documentation

#define _bfd_elf_minisymbol_to_symbol   _bfd_generic_minisymbol_to_symbol

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

#define _bfd_elf_read_minisymbols   _bfd_generic_read_minisymbols

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

#define _LIBELF_H_   1

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

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

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

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

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

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

#define ELF_COMMON_DEF_P (  ) 

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   ) 

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

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

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

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

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

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

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

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().

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

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

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

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

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

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

Referenced by bfd_elf_set_group_contents().

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

#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().

#define elf_link_hash_lookup ( table,
string,
create,
copy,
follow   ) 

#define elf_link_hash_traverse ( table,
func,
info   ) 

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

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

Referenced by assign_section_numbers().

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

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

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

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

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

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

Referenced by elf_map_symbols().

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

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

Referenced by elf_map_symbols(), and swap_out_syms().

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

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

Referenced by _bfd_elf_symbol_from_bfd_symbol(), and elf_map_symbols().

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

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

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

#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().

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

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

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

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

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

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().

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

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

Referenced by bfd_elf_final_link(), bfd_section_from_shdr(), and elf_bfd_final_link().

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

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 elfNAME ( X   )     NAME(elf,X)

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

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

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

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

#define LOCAL_SYM_CACHE_SIZE   32

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

Referenced by bfd_section_from_r_symndx().

#define MAX_INT_RELS_PER_EXT_REL   3

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

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

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

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

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

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

#define WILL_CALL_FINISH_DYNAMIC_SYMBOL ( DYN,
SHARED,
 ) 


Enumeration Type Documentation

Enumerator:
reloc_class_normal 
reloc_class_relative 
reloc_class_plt 
reloc_class_copy 

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

Enumerator:
ict_none 
ict_irix5 
ict_irix6 

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


Function Documentation

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   
)

bfd_boolean _bfd_elf_add_dynamic_entry ( struct bfd_link_info ,
bfd_vma  ,
bfd_vma   
)

bfd_boolean _bfd_elf_adjust_dynamic_symbol ( struct elf_link_hash_entry ,
void  
)

struct elf_link_hash_entry* _bfd_elf_archive_symbol_lookup ( bfd ,
struct bfd_link_info ,
const char *   
) [read]

file_ptr _bfd_elf_assign_file_position_for_section ( Elf_Internal_Shdr ,
file_ptr  ,
bfd_boolean   
)

void _bfd_elf_assign_file_positions_for_relocs ( bfd  ) 

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

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

long _bfd_elf_canonicalize_dynamic_symtab ( bfd ,
asymbol **   
)

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

long _bfd_elf_canonicalize_symtab ( bfd ,
asymbol **   
)

bfd_boolean _bfd_elf_close_and_cleanup ( bfd  ) 

bfd_boolean _bfd_elf_compute_section_file_positions ( bfd ,
struct bfd_link_info  
)

bfd_boolean _bfd_elf_copy_private_bfd_data ( bfd ,
bfd  
)

bfd_boolean _bfd_elf_copy_private_header_data ( bfd ,
bfd  
)

bfd_boolean _bfd_elf_copy_private_section_data ( bfd ,
asection ,
bfd ,
asection  
)

bfd_boolean _bfd_elf_copy_private_symbol_data ( bfd ,
asymbol ,
bfd ,
asymbol  
)

bfd_boolean _bfd_elf_create_dynamic_sections ( bfd ,
struct bfd_link_info  
)

bfd_boolean _bfd_elf_create_got_section ( bfd ,
struct bfd_link_info  
)

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  
)

bfd_boolean _bfd_elf_dynamic_symbol_p ( struct elf_link_hash_entry ,
struct bfd_link_info ,
bfd_boolean   
)

unsigned int _bfd_elf_eh_frame_address_size ( bfd ,
asection  
)

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

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 
)

bfd_boolean _bfd_elf_export_symbol ( struct elf_link_hash_entry ,
void  
)

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

bfd_boolean _bfd_elf_fix_symbol_flags ( struct elf_link_hash_entry ,
struct elf_info_failed  
)

void _bfd_elf_fprintf_vma ( bfd ,
void ,
bfd_vma   
)

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

long _bfd_elf_get_dynamic_reloc_upper_bound ( bfd  ) 

long _bfd_elf_get_dynamic_symtab_upper_bound ( bfd  ) 

alent* _bfd_elf_get_lineno ( bfd ,
asymbol  
)

long _bfd_elf_get_reloc_upper_bound ( bfd ,
sec_ptr   
)

struct bfd_elf_special_section* _bfd_elf_get_sec_type_attr ( bfd ,
const char *   
) [read]

void _bfd_elf_get_symbol_info ( bfd ,
asymbol ,
symbol_info  
)

long _bfd_elf_get_symtab_upper_bound ( bfd  ) 

Definition at line 5878 of file elf.c.

References elf_tdata, get_elf_backend_data, elf_internal_shdr::sh_size, and symcount.

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

bfd_boolean _bfd_elf_init_reloc_shdr ( bfd ,
Elf_Internal_Shdr ,
asection ,
bfd_boolean   
)

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  
)

bfd_boolean _bfd_elf_link_create_dynamic_sections ( bfd ,
struct bfd_link_info  
)

bfd_boolean _bfd_elf_link_find_version_dependencies ( struct elf_link_hash_entry ,
void  
)

void _bfd_elf_link_hash_copy_indirect ( const struct elf_backend_data ,
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   
)

struct bfd_hash_entry* _bfd_elf_link_hash_newfunc ( struct bfd_hash_entry ,
struct bfd_hash_table ,
const char *   
) [read]

struct bfd_link_hash_table* _bfd_elf_link_hash_table_create ( bfd  )  [read]

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

void _bfd_elf_link_just_syms ( asection ,
struct bfd_link_info  
)

long _bfd_elf_link_lookup_local_dynindx ( struct bfd_link_info ,
bfd ,
long   
)

bfd_boolean _bfd_elf_link_omit_section_dynsym ( bfd ,
struct bfd_link_info ,
asection  
)

bfd_boolean _bfd_elf_link_output_relocs ( bfd ,
asection ,
Elf_Internal_Shdr ,
Elf_Internal_Rela  
)

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  
)

bfd_boolean _bfd_elf_link_sec_merge_syms ( struct elf_link_hash_entry ,
void  
)

bfd_boolean _bfd_elf_link_size_reloc_section ( bfd ,
Elf_Internal_Shdr ,
asection  
)

struct elf_segment_map* _bfd_elf_make_dynamic_segment ( bfd ,
asection  
) [read]

asymbol* _bfd_elf_make_empty_symbol ( bfd  ) 

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

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  ) 

bfd_boolean _bfd_elf_merge_sections ( bfd ,
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 *   
)

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().

bfd_boolean _bfd_elf_new_section_hook ( bfd ,
asection  
)

void _bfd_elf_no_info_to_howto ( bfd ,
arelent ,
Elf_Internal_Rela  
)

bfd_boolean _bfd_elf_print_private_bfd_data ( bfd ,
void  
)

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   
)

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  
)

enum elf_reloc_type_class _bfd_elf_reloc_type_class ( const Elf_Internal_Rela  ) 

void _bfd_elf_section_already_linked ( bfd ,
struct bfd_section  
)

int _bfd_elf_section_from_bfd_section ( bfd ,
asection  
)

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

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   
)

bfd_boolean _bfd_elf_setup_group_pointers ( bfd  ) 

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().

void _bfd_elf_sprintf_vma ( bfd ,
char *  ,
bfd_vma   
)

struct bfd_strtab_hash* _bfd_elf_stringtab_init ( void   )  [read]

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_clear_all_refs ( struct elf_strtab_hash  ) 

void _bfd_elf_strtab_delref ( 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  ) 

void _bfd_elf_strtab_free ( struct elf_strtab_hash  ) 

struct elf_strtab_hash* _bfd_elf_strtab_init ( void   )  [read]

bfd_size_type _bfd_elf_strtab_offset ( struct elf_strtab_hash ,
bfd_size_type   
)

bfd_size_type _bfd_elf_strtab_size ( struct elf_strtab_hash  ) 

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_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_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_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_versym_in ( bfd ,
const Elf_External_Versym ,
Elf_Internal_Versym  
)

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().

int _bfd_elf_symbol_from_bfd_symbol ( bfd ,
asymbol **   
)

bfd_boolean _bfd_elf_symbol_refs_local_p ( struct elf_link_hash_entry ,
struct bfd_link_info ,
bfd_boolean   
)

bfd_boolean _bfd_elf_validate_reloc ( bfd ,
arelent  
)

bfd_boolean _bfd_elf_write_corefile_contents ( bfd  ) 

Definition at line 4779 of file elf.c.

References _bfd_elf_write_object_contents().

bfd_boolean _bfd_elf_write_object_contents ( bfd  ) 

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  
)

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

char* _bfd_elfcore_strndup ( bfd ,
char *  ,
size_t   
)

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  ) 

bfd_boolean bfd_elf32_core_file_matches_executable_p ( bfd ,
bfd  
)

const bfd_target* bfd_elf32_core_file_p ( bfd  ) 

const bfd_target* bfd_elf32_object_p ( bfd  ) 

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

long bfd_elf32_slurp_symbol_table ( bfd ,
asymbol **  ,
bfd_boolean   
)

void bfd_elf32_swap_dyn_in ( bfd ,
const void ,
Elf_Internal_Dyn  
)

void bfd_elf32_swap_dyn_out ( bfd ,
const Elf_Internal_Dyn ,
void  
)

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  
)

void bfd_elf32_swap_reloca_out ( bfd ,
const Elf_Internal_Rela ,
bfd_byte  
)

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

int bfd_elf32_write_out_phdrs ( bfd ,
const Elf_Internal_Phdr ,
unsigned  int 
)

void bfd_elf32_write_relocs ( bfd ,
asection ,
void  
)

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  ) 

bfd_boolean bfd_elf64_core_file_matches_executable_p ( bfd ,
bfd  
)

const bfd_target* bfd_elf64_core_file_p ( bfd  ) 

const bfd_target* bfd_elf64_object_p ( bfd  ) 

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

long bfd_elf64_slurp_symbol_table ( bfd ,
asymbol **  ,
bfd_boolean   
)

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  
)

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

void bfd_elf64_write_relocs ( bfd ,
asection ,
void  
)

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]

Definition at line 868 of file elf.c.

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  
)

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

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

bfd_boolean bfd_elf_gc_sections ( bfd ,
struct bfd_link_info  
)

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

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

char* bfd_elf_get_str_section ( bfd ,
unsigned   
)

unsigned long bfd_elf_hash ( const char *   ) 

Definition at line 192 of file elf.c.

References g, and h.

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  
)

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   
)

bfd_boolean bfd_elf_match_symbols_in_sections ( asection sec1,
asection sec2 
)

bfd_boolean bfd_elf_mkcorefile ( bfd  ) 

Definition at line 250 of file elf.c.

References bfd_elf_mkobject().

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   
)

bfd_boolean bfd_elf_reloc_symbol_deleted_p ( bfd_vma  ,
void  
)

void bfd_elf_set_group_contents ( bfd ,
asection ,
void  
)

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  
)

asection* bfd_section_from_elf_index ( bfd ,
unsigned  int 
)

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   
)

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

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().

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

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

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

Definition at line 7606 of file elf.c.

References elfcore_write_note(), and NT_FPREGSET.

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_prxfpreg ( bfd ,
char *  ,
int *  ,
const void ,
int   
)

Definition at line 7618 of file elf.c.

References elfcore_write_note(), and NT_PRXFPREG.

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


Generated on Wed Apr 8 14:47:52 2009 for Open64 by  doxygen 1.5.6