osprey/cygnus/bfd/libbfd.h File Reference

Go to the source code of this file.

Data Types

type  bfd_in_memory
type  artdata
type  areltdata
type  bfd_section_already_linked_hash_entry
type  bfd_section_already_linked
type  bfd_iovec
type  _bfd_window_internal

Defines

#define BFD_ALIGN(this, boundary)
#define DEFAULT_BUFFERSIZE   8192
#define set_tdata(bfd, v)   ((bfd)->tdata.any = (v))
#define bfd_ardata(bfd)   ((bfd)->tdata.aout_ar_data)
#define arelt_size(bfd)   (((struct areltdata *)((bfd)->arelt_data))->parsed_size)
#define bfd_slurp_bsd_armap   bfd_slurp_armap
#define bfd_slurp_coff_armap   bfd_slurp_armap
#define _bfd_read_ar_hdr(abfd)   BFD_SEND (abfd, _bfd_read_ar_hdr_fn, (abfd))
#define _bfd_generic_close_and_cleanup   bfd_true
#define _bfd_generic_bfd_free_cached_info   bfd_true
#define _bfd_generic_new_section_hook   ((bfd_boolean (*) (bfd *, asection *)) bfd_true)
#define _bfd_generic_bfd_copy_private_bfd_data   ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
#define _bfd_generic_bfd_merge_private_bfd_data   ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
#define _bfd_generic_bfd_set_private_flags   ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
#define _bfd_generic_bfd_copy_private_section_data   ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)
#define _bfd_generic_bfd_copy_private_symbol_data   ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)
#define _bfd_generic_bfd_copy_private_header_data   ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
#define _bfd_generic_bfd_print_private_bfd_data   ((bfd_boolean (*) (bfd *, void *)) bfd_true)
#define _bfd_noarchive_slurp_armap   bfd_false
#define _bfd_noarchive_slurp_extended_name_table   bfd_false
#define _bfd_noarchive_construct_extended_name_table
#define _bfd_noarchive_truncate_arname   ((void (*) (bfd *, const char *, char *)) bfd_void)
#define _bfd_noarchive_write_armap
#define _bfd_noarchive_read_ar_hdr   bfd_nullvoidptr
#define _bfd_noarchive_openr_next_archived_file   ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr)
#define _bfd_noarchive_get_elt_at_index   ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr)
#define _bfd_noarchive_generic_stat_arch_elt   bfd_generic_stat_arch_elt
#define _bfd_noarchive_update_armap_timestamp   bfd_false
#define _bfd_archive_bsd_slurp_armap   bfd_slurp_bsd_armap
#define _bfd_archive_bsd_slurp_extended_name_table   _bfd_slurp_extended_name_table
#define _bfd_archive_bsd_truncate_arname   bfd_bsd_truncate_arname
#define _bfd_archive_bsd_write_armap   bsd_write_armap
#define _bfd_archive_bsd_read_ar_hdr   _bfd_generic_read_ar_hdr
#define _bfd_archive_bsd_openr_next_archived_file   bfd_generic_openr_next_archived_file
#define _bfd_archive_bsd_get_elt_at_index   _bfd_generic_get_elt_at_index
#define _bfd_archive_bsd_generic_stat_arch_elt   bfd_generic_stat_arch_elt
#define _bfd_archive_coff_slurp_armap   bfd_slurp_coff_armap
#define _bfd_archive_coff_slurp_extended_name_table   _bfd_slurp_extended_name_table
#define _bfd_archive_coff_truncate_arname   bfd_dont_truncate_arname
#define _bfd_archive_coff_write_armap   coff_write_armap
#define _bfd_archive_coff_read_ar_hdr   _bfd_generic_read_ar_hdr
#define _bfd_archive_coff_openr_next_archived_file   bfd_generic_openr_next_archived_file
#define _bfd_archive_coff_get_elt_at_index   _bfd_generic_get_elt_at_index
#define _bfd_archive_coff_generic_stat_arch_elt   bfd_generic_stat_arch_elt
#define _bfd_archive_coff_update_armap_timestamp   bfd_true
#define _bfd_nosymbols_get_symtab_upper_bound   _bfd_n1
#define _bfd_nosymbols_canonicalize_symtab   ((long (*) (bfd *, asymbol **)) _bfd_n1)
#define _bfd_nosymbols_make_empty_symbol   _bfd_generic_make_empty_symbol
#define _bfd_nosymbols_print_symbol   ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void)
#define _bfd_nosymbols_get_symbol_info   ((void (*) (bfd *, asymbol *, symbol_info *)) bfd_void)
#define _bfd_nosymbols_bfd_is_local_label_name   ((bfd_boolean (*) (bfd *, const char *)) bfd_false)
#define _bfd_nosymbols_bfd_is_target_special_symbol   ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
#define _bfd_nosymbols_get_lineno   ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
#define _bfd_nosymbols_find_nearest_line
#define _bfd_nosymbols_bfd_make_debug_symbol   ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
#define _bfd_nosymbols_read_minisymbols   ((long (*) (bfd *, bfd_boolean, void **, unsigned int *)) _bfd_n1)
#define _bfd_nosymbols_minisymbol_to_symbol
#define _bfd_norelocs_get_reloc_upper_bound   ((long (*) (bfd *, asection *)) _bfd_n1)
#define _bfd_norelocs_canonicalize_reloc   ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1)
#define _bfd_norelocs_bfd_reloc_type_lookup   ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
#define _bfd_nowrite_set_arch_mach
#define _bfd_nowrite_set_section_contents
#define _bfd_generic_set_arch_mach   bfd_default_set_arch_mach
#define _bfd_nolink_sizeof_headers   ((int (*) (bfd *, bfd_boolean)) bfd_0)
#define _bfd_nolink_bfd_get_relocated_section_contents
#define _bfd_nolink_bfd_relax_section
#define _bfd_nolink_bfd_gc_sections
#define _bfd_nolink_bfd_merge_sections
#define _bfd_nolink_bfd_is_group_section
#define _bfd_nolink_bfd_discard_group
#define _bfd_nolink_bfd_link_hash_table_create   ((struct bfd_link_hash_table *(*) (bfd *)) bfd_nullvoidptr)
#define _bfd_nolink_bfd_link_hash_table_free   ((void (*) (struct bfd_link_hash_table *)) bfd_void)
#define _bfd_nolink_bfd_link_add_symbols   ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false)
#define _bfd_nolink_bfd_link_just_syms   ((void (*) (asection *, struct bfd_link_info *)) bfd_void)
#define _bfd_nolink_bfd_final_link   ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false)
#define _bfd_nolink_bfd_link_split_section   ((bfd_boolean (*) (bfd *, struct bfd_section *)) bfd_false)
#define _bfd_nolink_section_already_linked   ((void (*) (bfd *, struct bfd_section *)) bfd_void)
#define _bfd_nodynamic_get_dynamic_symtab_upper_bound   _bfd_n1
#define _bfd_nodynamic_canonicalize_dynamic_symtab   ((long (*) (bfd *, asymbol **)) _bfd_n1)
#define _bfd_nodynamic_get_synthetic_symtab   ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
#define _bfd_nodynamic_get_dynamic_reloc_upper_bound   _bfd_n1
#define _bfd_nodynamic_canonicalize_dynamic_reloc   ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
#define bfd_read_p(abfd)   ((abfd)->direction == read_direction || (abfd)->direction == both_direction)
#define bfd_write_p(abfd)   ((abfd)->direction == write_direction || (abfd)->direction == both_direction)
#define BFD_ASSERT(x)   do { if (!(x)) bfd_assert(__FILE__,__LINE__); } while (0)
#define BFD_FAIL()   do { bfd_assert(__FILE__,__LINE__); } while (0)
#define __PRETTY_FUNCTION__   ((char *) NULL)
#define abort()   _bfd_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)
#define BFD_CACHE_MAX_OPEN   10
#define bfd_cache_lookup(x)

Typedefs

typedef struct bfd_link_hash_entry _bfd_link_hash_entry

Functions/Subroutines

voidbfd_malloc (bfd_size_type)
voidbfd_realloc (void *, bfd_size_type)
voidbfd_zmalloc (bfd_size_type)
void _bfd_default_error_handler (const char *s,...)
voidbfd_alloc (bfd *, bfd_size_type)
voidbfd_zalloc (bfd *, bfd_size_type)
void bfd_release (bfd *, void *)
bfd_bfd_create_empty_archive_element_shell (bfd *obfd)
bfd_bfd_look_for_bfd_in_cache (bfd *, file_ptr)
bfd_boolean _bfd_add_bfd_to_archive_cache (bfd *, file_ptr, bfd *)
bfd_boolean _bfd_generic_mkarchive (bfd *abfd)
const bfd_targetbfd_generic_archive_p (bfd *abfd)
bfd_boolean bfd_slurp_armap (bfd *abfd)
bfd_boolean bfd_slurp_bsd_armap_f2 (bfd *abfd)
bfd_boolean _bfd_slurp_extended_name_table (bfd *abfd)
bfd_boolean _bfd_construct_extended_name_table (bfd *, bfd_boolean, char **, bfd_size_type *)
bfd_boolean _bfd_write_archive_contents (bfd *abfd)
bfd_boolean _bfd_compute_and_write_armap (bfd *, unsigned int elength)
bfd_bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos)
bfd_bfd_generic_get_elt_at_index (bfd *, symindex)
bfd_bfd_new_bfd (void)
void _bfd_delete_bfd (bfd *)
bfd_boolean bfd_false (bfd *ignore)
bfd_boolean bfd_true (bfd *ignore)
voidbfd_nullvoidptr (bfd *ignore)
int bfd_0 (bfd *ignore)
unsigned int bfd_0u (bfd *ignore)
long bfd_0l (bfd *ignore)
long _bfd_n1 (bfd *ignore)
void bfd_void (bfd *ignore)
bfd_bfd_new_bfd_contained_in (bfd *)
const bfd_target_bfd_dummy_target (bfd *abfd)
void bfd_dont_truncate_arname (bfd *abfd, const char *filename, char *hdr)
void bfd_bsd_truncate_arname (bfd *abfd, const char *filename, char *hdr)
void bfd_gnu_truncate_arname (bfd *abfd, const char *filename, char *hdr)
bfd_boolean bsd_write_armap (bfd *arch, unsigned int elength, struct orl *map, unsigned int orl_count, int stridx)
bfd_boolean coff_write_armap (bfd *arch, unsigned int elength, struct orl *map, unsigned int orl_count, int stridx)
void_bfd_generic_read_ar_hdr (bfd *)
void_bfd_generic_read_ar_hdr_mag (bfd *, const char *)
bfdbfd_generic_openr_next_archived_file (bfd *archive, bfd *last_file)
int bfd_generic_stat_arch_elt (bfd *, struct stat *)
bfd_boolean _bfd_generic_get_section_contents (bfd *, asection *, void *, file_ptr, bfd_size_type)
bfd_boolean _bfd_generic_get_section_contents_in_window (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type)
char * _bfd_nocore_core_file_failing_command (bfd *)
int _bfd_nocore_core_file_failing_signal (bfd *)
bfd_boolean _bfd_nocore_core_file_matches_executable_p (bfd *, bfd *)
bfd_boolean _bfd_archive_bsd_construct_extended_name_table (bfd *, char **, bfd_size_type *, const char **)
bfd_boolean _bfd_archive_bsd_update_armap_timestamp (bfd *)
bfd_boolean _bfd_archive_coff_construct_extended_name_table (bfd *, char **, bfd_size_type *, const char **)
bfd_boolean _bfd_generic_set_section_contents (bfd *, asection *, const void *, file_ptr, bfd_size_type)
bfd_boolean bfd_generic_is_local_label_name (bfd *, const char *)
long _bfd_generic_read_minisymbols (bfd *, bfd_boolean, void **, unsigned int *)
asymbol_bfd_generic_minisymbol_to_symbol (bfd *, bfd_boolean, const void *, asymbol *)
bfd_boolean _bfd_stab_section_find_nearest_line (bfd *, asymbol **, asection *, bfd_vma, bfd_boolean *, const char **, const char **, unsigned int *, void **)
bfd_boolean _bfd_dwarf1_find_nearest_line (bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *)
bfd_boolean _bfd_dwarf2_find_nearest_line (bfd *, asection *, asymbol **, bfd_vma, const char **, const char **, unsigned int *, unsigned int, void **)
struct bfd_hash_entrybfd_section_hash_newfunc (struct bfd_hash_entry *, struct bfd_hash_table *, const char *)
struct bfd_hash_entry_bfd_link_hash_newfunc (struct bfd_hash_entry *entry, struct bfd_hash_table *table, const char *string)
bfd_boolean _bfd_link_hash_table_init (struct bfd_link_hash_table *, bfd *, struct bfd_hash_entry *(*)(struct bfd_hash_entry *, struct bfd_hash_table *, const char *))
struct bfd_link_hash_table_bfd_generic_link_hash_table_create (bfd *)
void _bfd_generic_link_hash_table_free (struct bfd_link_hash_table *)
bfd_boolean _bfd_generic_link_add_symbols (bfd *, struct bfd_link_info *)
bfd_boolean _bfd_generic_link_add_symbols_collect (bfd *, struct bfd_link_info *)
bfd_boolean _bfd_generic_link_add_archive_symbols (bfd *, struct bfd_link_info *, bfd_boolean(*)(bfd *, struct bfd_link_info *, bfd_boolean *))
bfd_boolean _bfd_generic_link_add_one_symbol (struct bfd_link_info *, bfd *, const char *name, flagword, asection *, bfd_vma, const char *, bfd_boolean copy, bfd_boolean constructor, struct bfd_link_hash_entry **)
void _bfd_generic_link_just_syms (asection *, struct bfd_link_info *)
bfd_boolean _bfd_generic_final_link (bfd *, struct bfd_link_info *)
bfd_boolean _bfd_generic_link_split_section (bfd *, struct bfd_section *)
void _bfd_generic_section_already_linked (bfd *, struct bfd_section *)
bfd_boolean _bfd_generic_reloc_link_order (bfd *, struct bfd_link_info *, asection *, struct bfd_link_order *)
bfd_boolean _bfd_default_link_order (bfd *, struct bfd_link_info *, asection *, struct bfd_link_order *)
unsigned int _bfd_count_link_order_relocs (struct bfd_link_order *)
bfd_reloc_status_type _bfd_final_link_relocate (reloc_howto_type *, bfd *, asection *, bfd_byte *, bfd_vma, bfd_vma, bfd_vma)
bfd_reloc_status_type _bfd_relocate_contents (reloc_howto_type *, bfd *, bfd_vma, bfd_byte *)
bfd_boolean _bfd_link_section_stabs (bfd *, struct stab_info *, asection *, asection *, void **, bfd_size_type *)
bfd_boolean _bfd_discard_section_stabs (bfd *, asection *, void *, bfd_boolean(*)(bfd_vma, void *), void *)
bfd_boolean _bfd_write_section_stabs (bfd *, struct stab_info *, asection *, void **, bfd_byte *)
bfd_boolean _bfd_write_stab_strings (bfd *, struct stab_info *)
bfd_vma _bfd_stab_section_offset (asection *, void *, bfd_vma)
bfd_boolean _bfd_add_merge_section (bfd *, void **, asection *, void **)
bfd_boolean _bfd_merge_sections (bfd *, struct bfd_link_info *, void *, void(*)(bfd *, asection *))
bfd_boolean _bfd_write_merged_section (bfd *, asection *, void *)
bfd_vma _bfd_merged_section_offset (bfd *, asection **, void *, bfd_vma)
struct bfd_strtab_hash_bfd_stringtab_init (void)
struct bfd_strtab_hash_bfd_xcoff_stringtab_init (void)
void _bfd_stringtab_free (struct bfd_strtab_hash *)
bfd_size_type _bfd_stringtab_size (struct bfd_strtab_hash *)
bfd_size_type _bfd_stringtab_add (struct bfd_strtab_hash *, const char *, bfd_boolean hash, bfd_boolean copy)
bfd_boolean _bfd_stringtab_emit (bfd *, struct bfd_strtab_hash *)
bfd_boolean _bfd_generic_verify_endian_match (bfd *, bfd *)
void bfd_assert (const char *, int)
void _bfd_abort (const char *, int, const char *) ATTRIBUTE_NORETURN
file_ptr real_ftell (FILE *file)
int real_fseek (FILE *file, file_ptr offset, int whence)
FILEbfd_cache_lookup_worker (bfd *)
bfd_boolean _bfd_ecoff_locate_line (bfd *, asection *, bfd_vma, struct ecoff_debug_info *const, const struct ecoff_debug_swap *const, struct ecoff_find_line *, const char **, const char **, unsigned int *)
bfd_boolean _bfd_ecoff_get_accumulated_pdr (void *, bfd_byte *)
bfd_boolean _bfd_ecoff_get_accumulated_sym (void *, bfd_byte *)
bfd_boolean _bfd_ecoff_get_accumulated_ss (void *, bfd_byte *)
bfd_vma _bfd_get_gp_value (bfd *)
void _bfd_set_gp_value (bfd *, bfd_vma)
bfd_boolean _bfd_sh_align_load_span (bfd *, asection *, bfd_byte *, bfd_boolean(*)(bfd *, asection *, void *, bfd_byte *, bfd_vma), void *, bfd_vma **, bfd_vma *, bfd_vma, bfd_vma, bfd_boolean *)
struct
bfd_section_already_linked_hash_entry
bfd_section_already_linked_table_lookup (const char *)
void bfd_section_already_linked_table_insert (struct bfd_section_already_linked_hash_entry *, asection *)
void bfd_section_already_linked_table_traverse (bfd_boolean(*)(struct bfd_section_already_linked_hash_entry *, void *), void *)
bfd_vma read_unsigned_leb128 (bfd *, bfd_byte *, unsigned int *)
bfd_signed_vma read_signed_leb128 (bfd *, bfd_byte *, unsigned int *)
bfd_boolean bfd_write_bigendian_4byte_int (bfd *, unsigned int)
unsigned int bfd_log2 (bfd_vma x)
bfd_boolean bfd_cache_init (bfd *abfd)
bfd_boolean bfd_cache_close (bfd *abfd)
FILEbfd_open_file (bfd *abfd)
reloc_howto_typebfd_default_reloc_type_lookup (bfd *abfd, bfd_reloc_code_real_type code)
bfd_boolean bfd_generic_relax_section (bfd *abfd, asection *section, struct bfd_link_info *, bfd_boolean *)
bfd_boolean bfd_generic_gc_sections (bfd *, struct bfd_link_info *)
bfd_boolean bfd_generic_merge_sections (bfd *, struct bfd_link_info *)
bfd_bytebfd_generic_get_relocated_section_contents (bfd *abfd, struct bfd_link_info *link_info, struct bfd_link_order *link_order, bfd_byte *data, bfd_boolean relocatable, asymbol **symbols)
bfd_boolean bfd_default_set_arch_mach (bfd *abfd, enum bfd_architecture arch, unsigned long mach)
const bfd_arch_info_typebfd_default_compatible (const bfd_arch_info_type *a, const bfd_arch_info_type *b)
bfd_boolean bfd_default_scan (const struct bfd_arch_info *info, const char *string)
struct elf_internal_shdrbfd_elf_find_section (bfd *abfd, char *name)

Variables

bfd_error_handler_type _bfd_error_handler
bfdbfd_last_cache
const bfd_target *const * bfd_target_vector
const bfd_targetbfd_default_vector []
const bfd_target *const * bfd_associated_vector
const bfd_arch_info_type bfd_default_arch_struct


Define Documentation

#define __PRETTY_FUNCTION__   ((char *) NULL)

Definition at line 620 of file libbfd.h.

#define _bfd_archive_bsd_generic_stat_arch_elt   bfd_generic_stat_arch_elt

Definition at line 278 of file libbfd.h.

#define _bfd_archive_bsd_get_elt_at_index   _bfd_generic_get_elt_at_index

Definition at line 277 of file libbfd.h.

#define _bfd_archive_bsd_openr_next_archived_file   bfd_generic_openr_next_archived_file

Definition at line 275 of file libbfd.h.

#define _bfd_archive_bsd_read_ar_hdr   _bfd_generic_read_ar_hdr

Definition at line 274 of file libbfd.h.

#define _bfd_archive_bsd_slurp_armap   bfd_slurp_bsd_armap

Definition at line 267 of file libbfd.h.

#define _bfd_archive_bsd_slurp_extended_name_table   _bfd_slurp_extended_name_table

Definition at line 268 of file libbfd.h.

#define _bfd_archive_bsd_truncate_arname   bfd_bsd_truncate_arname

Definition at line 272 of file libbfd.h.

#define _bfd_archive_bsd_write_armap   bsd_write_armap

Definition at line 273 of file libbfd.h.

#define _bfd_archive_coff_generic_stat_arch_elt   bfd_generic_stat_arch_elt

Definition at line 297 of file libbfd.h.

#define _bfd_archive_coff_get_elt_at_index   _bfd_generic_get_elt_at_index

Definition at line 296 of file libbfd.h.

#define _bfd_archive_coff_openr_next_archived_file   bfd_generic_openr_next_archived_file

Definition at line 294 of file libbfd.h.

#define _bfd_archive_coff_read_ar_hdr   _bfd_generic_read_ar_hdr

Definition at line 293 of file libbfd.h.

#define _bfd_archive_coff_slurp_armap   bfd_slurp_coff_armap

Definition at line 286 of file libbfd.h.

#define _bfd_archive_coff_slurp_extended_name_table   _bfd_slurp_extended_name_table

Definition at line 287 of file libbfd.h.

#define _bfd_archive_coff_truncate_arname   bfd_dont_truncate_arname

Definition at line 291 of file libbfd.h.

#define _bfd_archive_coff_update_armap_timestamp   bfd_true

Definition at line 299 of file libbfd.h.

#define _bfd_archive_coff_write_armap   coff_write_armap

Definition at line 292 of file libbfd.h.

#define _bfd_generic_bfd_copy_private_bfd_data   ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)

Definition at line 218 of file libbfd.h.

#define _bfd_generic_bfd_copy_private_header_data   ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)

Definition at line 228 of file libbfd.h.

#define _bfd_generic_bfd_copy_private_section_data   ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)

Definition at line 224 of file libbfd.h.

#define _bfd_generic_bfd_copy_private_symbol_data   ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)

Definition at line 226 of file libbfd.h.

#define _bfd_generic_bfd_free_cached_info   bfd_true

Definition at line 207 of file libbfd.h.

#define _bfd_generic_bfd_merge_private_bfd_data   ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)

Definition at line 220 of file libbfd.h.

#define _bfd_generic_bfd_print_private_bfd_data   ((bfd_boolean (*) (bfd *, void *)) bfd_true)

Definition at line 230 of file libbfd.h.

#define _bfd_generic_bfd_set_private_flags   ((bfd_boolean (*) (bfd *, flagword)) bfd_true)

Definition at line 222 of file libbfd.h.

#define _bfd_generic_close_and_cleanup   bfd_true

Definition at line 206 of file libbfd.h.

#define _bfd_generic_new_section_hook   ((bfd_boolean (*) (bfd *, asection *)) bfd_true)

Definition at line 208 of file libbfd.h.

#define _bfd_generic_set_arch_mach   bfd_default_set_arch_mach

Definition at line 353 of file libbfd.h.

#define _bfd_noarchive_construct_extended_name_table

Value:

((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \
   bfd_false)

Definition at line 248 of file libbfd.h.

#define _bfd_noarchive_generic_stat_arch_elt   bfd_generic_stat_arch_elt

Definition at line 261 of file libbfd.h.

#define _bfd_noarchive_get_elt_at_index   ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr)

Definition at line 259 of file libbfd.h.

#define _bfd_noarchive_openr_next_archived_file   ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr)

Definition at line 257 of file libbfd.h.

#define _bfd_noarchive_read_ar_hdr   bfd_nullvoidptr

Definition at line 256 of file libbfd.h.

#define _bfd_noarchive_slurp_armap   bfd_false

Definition at line 246 of file libbfd.h.

#define _bfd_noarchive_slurp_extended_name_table   bfd_false

Definition at line 247 of file libbfd.h.

#define _bfd_noarchive_truncate_arname   ((void (*) (bfd *, const char *, char *)) bfd_void)

Definition at line 251 of file libbfd.h.

#define _bfd_noarchive_update_armap_timestamp   bfd_false

Definition at line 262 of file libbfd.h.

#define _bfd_noarchive_write_armap

Value:

((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \
   bfd_false)

Definition at line 253 of file libbfd.h.

#define _bfd_nodynamic_canonicalize_dynamic_reloc   ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)

Definition at line 406 of file libbfd.h.

#define _bfd_nodynamic_canonicalize_dynamic_symtab   ((long (*) (bfd *, asymbol **)) _bfd_n1)

Definition at line 401 of file libbfd.h.

#define _bfd_nodynamic_get_dynamic_reloc_upper_bound   _bfd_n1

Definition at line 405 of file libbfd.h.

#define _bfd_nodynamic_get_dynamic_symtab_upper_bound   _bfd_n1

Definition at line 400 of file libbfd.h.

#define _bfd_nodynamic_get_synthetic_symtab   ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)

Definition at line 403 of file libbfd.h.

#define _bfd_nolink_bfd_discard_group

Value:

((bfd_boolean (*) (bfd *, struct bfd_section *)) \
   bfd_false)

Definition at line 378 of file libbfd.h.

#define _bfd_nolink_bfd_final_link   ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false)

Definition at line 389 of file libbfd.h.

#define _bfd_nolink_bfd_gc_sections

Value:

((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \
   bfd_false)

Definition at line 369 of file libbfd.h.

#define _bfd_nolink_bfd_get_relocated_section_contents

Value:

((bfd_byte *(*) (bfd *, struct bfd_link_info *, struct bfd_link_order *, \
       bfd_byte *, bfd_boolean, asymbol **)) \
   bfd_nullvoidptr)

Definition at line 361 of file libbfd.h.

#define _bfd_nolink_bfd_is_group_section

Value:

((bfd_boolean (*) (bfd *, const struct bfd_section *)) \
   bfd_false)

Definition at line 375 of file libbfd.h.

#define _bfd_nolink_bfd_link_add_symbols   ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false)

Definition at line 385 of file libbfd.h.

#define _bfd_nolink_bfd_link_hash_table_create   ((struct bfd_link_hash_table *(*) (bfd *)) bfd_nullvoidptr)

Definition at line 381 of file libbfd.h.

#define _bfd_nolink_bfd_link_hash_table_free   ((void (*) (struct bfd_link_hash_table *)) bfd_void)

Definition at line 383 of file libbfd.h.

#define _bfd_nolink_bfd_link_just_syms   ((void (*) (asection *, struct bfd_link_info *)) bfd_void)

Definition at line 387 of file libbfd.h.

#define _bfd_nolink_bfd_link_split_section   ((bfd_boolean (*) (bfd *, struct bfd_section *)) bfd_false)

Definition at line 391 of file libbfd.h.

#define _bfd_nolink_bfd_merge_sections

Value:

((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \
   bfd_false)

Definition at line 372 of file libbfd.h.

#define _bfd_nolink_bfd_relax_section

Value:

((bfd_boolean (*) \
    (bfd *, asection *, struct bfd_link_info *, bfd_boolean *)) \
   bfd_false)

Definition at line 365 of file libbfd.h.

#define _bfd_nolink_section_already_linked   ((void (*) (bfd *, struct bfd_section *)) bfd_void)

Definition at line 393 of file libbfd.h.

#define _bfd_nolink_sizeof_headers   ((int (*) (bfd *, bfd_boolean)) bfd_0)

Definition at line 360 of file libbfd.h.

#define _bfd_norelocs_bfd_reloc_type_lookup   ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)

Definition at line 337 of file libbfd.h.

#define _bfd_norelocs_canonicalize_reloc   ((long (*) (bfd *, asection *, arelent **, asymbol **)) _bfd_n1)

Definition at line 335 of file libbfd.h.

#define _bfd_norelocs_get_reloc_upper_bound   ((long (*) (bfd *, asection *)) _bfd_n1)

Definition at line 333 of file libbfd.h.

#define _bfd_nosymbols_bfd_is_local_label_name   ((bfd_boolean (*) (bfd *, const char *)) bfd_false)

Definition at line 312 of file libbfd.h.

#define _bfd_nosymbols_bfd_is_target_special_symbol   ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)

Definition at line 314 of file libbfd.h.

#define _bfd_nosymbols_bfd_make_debug_symbol   ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)

Definition at line 322 of file libbfd.h.

#define _bfd_nosymbols_canonicalize_symtab   ((long (*) (bfd *, asymbol **)) _bfd_n1)

Definition at line 305 of file libbfd.h.

#define _bfd_nosymbols_find_nearest_line

Value:

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

Definition at line 318 of file libbfd.h.

#define _bfd_nosymbols_get_lineno   ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)

Definition at line 316 of file libbfd.h.

#define _bfd_nosymbols_get_symbol_info   ((void (*) (bfd *, asymbol *, symbol_info *)) bfd_void)

Definition at line 310 of file libbfd.h.

#define _bfd_nosymbols_get_symtab_upper_bound   _bfd_n1

Definition at line 304 of file libbfd.h.

#define _bfd_nosymbols_make_empty_symbol   _bfd_generic_make_empty_symbol

Definition at line 307 of file libbfd.h.

#define _bfd_nosymbols_minisymbol_to_symbol

Value:

((asymbol *(*) (bfd *, bfd_boolean, const void *, asymbol *)) \
   bfd_nullvoidptr)

Definition at line 326 of file libbfd.h.

#define _bfd_nosymbols_print_symbol   ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void)

Definition at line 308 of file libbfd.h.

#define _bfd_nosymbols_read_minisymbols   ((long (*) (bfd *, bfd_boolean, void **, unsigned int *)) _bfd_n1)

Definition at line 324 of file libbfd.h.

#define _bfd_nowrite_set_arch_mach

Value:

((bfd_boolean (*) (bfd *, enum bfd_architecture, unsigned long)) \
   bfd_false)

Definition at line 343 of file libbfd.h.

#define _bfd_nowrite_set_section_contents

Value:

((bfd_boolean (*) (bfd *, asection *, const void *, file_ptr, bfd_size_type)) \
   bfd_false)

Definition at line 346 of file libbfd.h.

#define _bfd_read_ar_hdr ( abfd   )     BFD_SEND (abfd, _bfd_read_ar_hdr_fn, (abfd))

Definition at line 200 of file libbfd.h.

#define abort ( void   )     _bfd_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)

Definition at line 624 of file libbfd.h.

#define arelt_size ( bfd   )     (((struct areltdata *)((bfd)->arelt_data))->parsed_size)

Definition at line 97 of file libbfd.h.

#define BFD_ALIGN ( this,
boundary   ) 

Value:

((((bfd_vma) (this) + (boundary) - 1) >= (bfd_vma) (this))      \
   ? (((bfd_vma) (this) + ((boundary) - 1)) & ~ (bfd_vma) ((boundary)-1)) \
   : ~ (bfd_vma) 0)

Definition at line 41 of file libbfd.h.

#define bfd_ardata ( bfd   )     ((bfd)->tdata.aout_ar_data)

Definition at line 88 of file libbfd.h.

#define BFD_ASSERT (  )     do { if (!(x)) bfd_assert(__FILE__,__LINE__); } while (0)

Definition at line 609 of file libbfd.h.

#define bfd_cache_lookup (  ) 

#define BFD_CACHE_MAX_OPEN   10

Definition at line 741 of file libbfd.h.

Referenced by bfd_cache_init(), and bfd_open_file().

 
#define BFD_FAIL (  )     do { bfd_assert(__FILE__,__LINE__); } while (0)

Definition at line 612 of file libbfd.h.

#define bfd_read_p ( abfd   )     ((abfd)->direction == read_direction || (abfd)->direction == both_direction)

Definition at line 601 of file libbfd.h.

#define bfd_slurp_bsd_armap   bfd_slurp_armap

Definition at line 132 of file libbfd.h.

#define bfd_slurp_coff_armap   bfd_slurp_armap

Definition at line 133 of file libbfd.h.

#define bfd_write_p ( abfd   )     ((abfd)->direction == write_direction || (abfd)->direction == both_direction)

Definition at line 603 of file libbfd.h.

#define DEFAULT_BUFFERSIZE   8192

Definition at line 48 of file libbfd.h.

#define set_tdata ( bfd,
 )     ((bfd)->tdata.any = (v))

Definition at line 52 of file libbfd.h.


Typedef Documentation

Definition at line 475 of file libbfd.h.


Function Documentation

void _bfd_abort ( const char *  ,
int  ,
const char *   
)

bfd_boolean _bfd_add_bfd_to_archive_cache ( bfd ,
file_ptr  ,
bfd  
)

Definition at line 267 of file archive.c.

References ar_cache::arelt, bfd_ardata, bfd_zalloc(), FALSE, ar_cache::next, NULL, ar_cache::ptr, and TRUE.

Referenced by _bfd_get_elt_at_filepos().

bfd_boolean _bfd_add_merge_section ( bfd ,
void **  ,
asection ,
void **   
)

bfd_boolean _bfd_archive_bsd_construct_extended_name_table ( bfd ,
char **  ,
bfd_size_type ,
const char **   
)

Definition at line 1148 of file archive.c.

References _bfd_construct_extended_name_table(), and FALSE.

bfd_boolean _bfd_archive_bsd_update_armap_timestamp ( bfd  ) 

bfd_boolean _bfd_archive_coff_construct_extended_name_table ( bfd ,
char **  ,
bfd_size_type ,
const char **   
)

Definition at line 1160 of file archive.c.

References _bfd_construct_extended_name_table(), and TRUE.

bfd_boolean _bfd_compute_and_write_armap ( bfd ,
unsigned int  elength 
)

bfd_boolean _bfd_construct_extended_name_table ( bfd ,
bfd_boolean  ,
char **  ,
bfd_size_type  
)

unsigned int _bfd_count_link_order_relocs ( struct bfd_link_order  ) 

bfd* _bfd_create_empty_archive_element_shell ( bfd obfd  ) 

void _bfd_default_error_handler ( const char *  s,
  ... 
)

bfd_boolean _bfd_default_link_order ( bfd ,
struct bfd_link_info ,
asection ,
struct bfd_link_order  
)

void _bfd_delete_bfd ( bfd  ) 

Definition at line 120 of file opncls.c.

References bfd_hash_table_free(), free(), bfd::memory, objalloc_free(), and bfd::section_htab.

bfd_boolean _bfd_discard_section_stabs ( bfd ,
asection ,
void ,
bfd_boolean(*)(bfd_vma, void *)  ,
void  
)

const bfd_target* _bfd_dummy_target ( bfd abfd  ) 

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

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

bfd_boolean _bfd_ecoff_get_accumulated_pdr ( void ,
bfd_byte  
)

bfd_boolean _bfd_ecoff_get_accumulated_ss ( void ,
bfd_byte  
)

bfd_boolean _bfd_ecoff_get_accumulated_sym ( void ,
bfd_byte  
)

bfd_boolean _bfd_ecoff_locate_line ( bfd ,
asection ,
bfd_vma  ,
struct ecoff_debug_info const,
const struct ecoff_debug_swap const,
struct ecoff_find_line ,
const char **  ,
const char **  ,
unsigned int *   
)

bfd_reloc_status_type _bfd_final_link_relocate ( reloc_howto_type ,
bfd ,
asection ,
bfd_byte ,
bfd_vma  ,
bfd_vma  ,
bfd_vma   
)

bfd_boolean _bfd_generic_final_link ( bfd ,
struct bfd_link_info  
)

bfd* _bfd_generic_get_elt_at_index ( bfd ,
symindex   
)

Definition at line 510 of file archive.c.

References _bfd_get_elt_at_filepos(), bfd_ardata, and carsym::file_offset.

Referenced by vms_get_elt_at_index().

bfd_boolean _bfd_generic_get_section_contents ( bfd ,
asection ,
void ,
file_ptr  ,
bfd_size_type   
)

bfd_boolean _bfd_generic_get_section_contents_in_window ( bfd ,
asection ,
bfd_window ,
file_ptr  ,
bfd_size_type   
)

bfd_boolean _bfd_generic_link_add_archive_symbols ( bfd ,
struct bfd_link_info ,
bfd_boolean(*)(bfd *, struct bfd_link_info *, bfd_boolean *)   
)

bfd_boolean _bfd_generic_link_add_one_symbol ( struct bfd_link_info ,
bfd ,
const char *  name,
flagword  ,
asection ,
bfd_vma  ,
const char *  ,
bfd_boolean  copy,
bfd_boolean  constructor,
struct bfd_link_hash_entry **   
)

Definition at line 1528 of file linker.c.

References _, abort, bfd_link_callbacks::add_to_set, bfd_link_info::allow_multiple_definition, BFD_ASSERT, bfd_com_section_ptr, bfd_error_invalid_operation, bfd_hash_allocate(), bfd_hash_lookup(), bfd_hash_replace(), bfd_ind_section_ptr, bfd_is_abs_section, bfd_is_com_section, bfd_is_ind_section, bfd_is_und_section, bfd_link_add_undef(), bfd_link_hash_common, bfd_link_hash_defined, bfd_link_hash_defweak, bfd_link_hash_indirect, bfd_link_hash_lookup(), bfd_link_hash_new, bfd_link_hash_undefined, bfd_link_hash_undefweak, bfd_link_hash_warning, bfd_log2(), bfd_make_section_old_way(), BFD_RELOC_CTOR, bfd_set_error(), bfd_wrapped_link_hash_lookup(), BIG, BSF_CONSTRUCTOR, BSF_INDIRECT, BSF_WARNING, BSF_WEAK, c, bfd_link_hash_entry::c, bfd_link_info::callbacks, CDEF, CIND, COM, COMMON_ROW, CONS_PREFIX, CONS_PREFIX_LEN, bfd_link_callbacks::constructor, CREF, CWARN, DEF, bfd_link_hash_entry::def, DEF_ROW, DEFW, DEFW_ROW, FAIL, FALSE, h, bfd_link_info::hash, hash_entry_bfd(), bfd_link_hash_entry::i, IND, INDR_ROW, int, ipa_is_whirl(), is_ipa, len, MDEF, memcpy, MIND, bfd_link_callbacks::multiple_common, bfd_link_callbacks::multiple_definition, MWARN, bfd_section::name, bfd_hash_table::newfunc, NOACT, bfd_link_callbacks::notice, bfd_link_info::notice_all, bfd_link_info::notice_hash, NULL, obfd, bfd_section::owner, REF, REFC, bfd_link_hash_entry::root, s, SEC_ALLOC, SET, SET_ROW, strcmp(), bfd_hash_entry::string, strlen(), strncmp(), sub, bfd_link_hash_table::table, TRUE, bfd_link_hash_entry::type, bfd_link_hash_entry::u, UND, bfd_link_hash_entry::undef, UNDEF_ROW, bfd_link_hash_table::undefs_tail, UNDEFW_ROW, WARN, WARN_ROW, WARNC, bfd_link_callbacks::warning, and WEAK.

bfd_boolean _bfd_generic_link_add_symbols ( bfd ,
struct bfd_link_info  
)

Definition at line 774 of file linker.c.

References FALSE, and generic_link_add_symbols().

bfd_boolean _bfd_generic_link_add_symbols_collect ( bfd ,
struct bfd_link_info  
)

Definition at line 787 of file linker.c.

References generic_link_add_symbols(), and TRUE.

struct bfd_link_hash_table* _bfd_generic_link_hash_table_create ( bfd  )  [read]

void _bfd_generic_link_hash_table_free ( struct bfd_link_hash_table  ) 

void _bfd_generic_link_just_syms ( asection ,
struct bfd_link_info  
)

bfd_boolean _bfd_generic_link_split_section ( bfd ,
struct bfd_section  
)

asymbol* _bfd_generic_minisymbol_to_symbol ( bfd ,
bfd_boolean  ,
const void ,
asymbol  
)

bfd_boolean _bfd_generic_mkarchive ( bfd abfd  ) 

Definition at line 165 of file archive.c.

References bfd::aout_ar_data, bfd_ardata, bfd_zalloc(), FALSE, NULL, bfd::tdata, and TRUE.

void* _bfd_generic_read_ar_hdr ( bfd  ) 

Definition at line 323 of file archive.c.

References _bfd_generic_read_ar_hdr_mag(), and NULL.

void* _bfd_generic_read_ar_hdr_mag ( bfd ,
const char *   
)

long _bfd_generic_read_minisymbols ( bfd ,
bfd_boolean  ,
void **  ,
unsigned int *   
)

bfd_boolean _bfd_generic_reloc_link_order ( bfd ,
struct bfd_link_info ,
asection ,
struct bfd_link_order  
)

void _bfd_generic_section_already_linked ( bfd ,
struct bfd_section  
)

bfd_boolean _bfd_generic_set_section_contents ( bfd ,
asection ,
const void ,
file_ptr  ,
bfd_size_type   
)

bfd_boolean _bfd_generic_verify_endian_match ( bfd ,
bfd  
)

bfd* _bfd_get_elt_at_filepos ( bfd archive,
file_ptr  filepos 
)

bfd_vma _bfd_get_gp_value ( bfd  ) 

struct bfd_hash_entry* _bfd_link_hash_newfunc ( struct bfd_hash_entry entry,
struct bfd_hash_table table,
const char *  string 
) [read]

bfd_boolean _bfd_link_hash_table_init ( struct bfd_link_hash_table ,
bfd ,
struct bfd_hash_entry *)(struct bfd_hash_entry *, struct bfd_hash_table *, const char * 
)

bfd_boolean _bfd_link_section_stabs ( bfd ,
struct stab_info ,
asection ,
asection ,
void **  ,
bfd_size_type  
)

bfd* _bfd_look_for_bfd_in_cache ( bfd ,
file_ptr   
)

Definition at line 252 of file archive.c.

References ar_cache::arelt, bfd_ardata, ar_cache::next, NULL, and ar_cache::ptr.

Referenced by _bfd_get_elt_at_filepos().

bfd_boolean _bfd_merge_sections ( bfd ,
struct bfd_link_info ,
void ,
void(*)(bfd *, asection *)   
)

bfd_vma _bfd_merged_section_offset ( bfd ,
asection **  ,
void ,
bfd_vma   
)

long _bfd_n1 ( bfd ignore  ) 

bfd* _bfd_new_bfd ( void   ) 

bfd* _bfd_new_bfd_contained_in ( bfd  ) 

char* _bfd_nocore_core_file_failing_command ( bfd  ) 

int _bfd_nocore_core_file_failing_signal ( bfd  ) 

bfd_boolean _bfd_nocore_core_file_matches_executable_p ( bfd ,
bfd  
)

bfd_reloc_status_type _bfd_relocate_contents ( reloc_howto_type ,
bfd ,
bfd_vma  ,
bfd_byte  
)

void _bfd_set_gp_value ( bfd ,
bfd_vma   
)

bfd_boolean _bfd_sh_align_load_span ( bfd ,
asection ,
bfd_byte ,
bfd_boolean(*)(bfd *, asection *, void *, bfd_byte *, bfd_vma ,
void ,
bfd_vma **  ,
bfd_vma ,
bfd_vma  ,
bfd_vma  ,
bfd_boolean *   
)

bfd_boolean _bfd_slurp_extended_name_table ( bfd abfd  ) 

Extended name table.

Normally archives support only 14-character filenames.

Intel has extended the format: longer names are stored in a special element (the first in the archive, or second if there is an armap); the name in the ar_hdr is replaced by <space><index into="" filename="" element>="">. Index is the P.R. of an int (decimal). Data General have extended the format by using the prefix // for the special element.

Definition at line 1013 of file archive.c.

References _bfd_read_ar_hdr, bfd_ardata, bfd_bread(), bfd_error_malformed_archive, bfd_error_system_call, bfd_get_error(), bfd_release(), bfd_seek(), bfd_set_error(), bfd_tell(), bfd_zalloc(), FALSE, NULL, areltdata::parsed_size, SEEK_CUR, SEEK_SET, strncmp(), and TRUE.

Referenced by bfd_generic_archive_p().

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

bfd_vma _bfd_stab_section_offset ( asection ,
void ,
bfd_vma   
)

bfd_size_type _bfd_stringtab_add ( struct bfd_strtab_hash ,
const char *  ,
bfd_boolean  hash,
bfd_boolean  copy 
)

bfd_boolean _bfd_stringtab_emit ( bfd ,
struct bfd_strtab_hash  
)

void _bfd_stringtab_free ( struct bfd_strtab_hash  ) 

struct bfd_strtab_hash* _bfd_stringtab_init ( void   )  [read]

bfd_size_type _bfd_stringtab_size ( struct bfd_strtab_hash  ) 

bfd_boolean _bfd_write_archive_contents ( bfd abfd  ) 

bfd_boolean _bfd_write_merged_section ( bfd ,
asection ,
void  
)

bfd_boolean _bfd_write_section_stabs ( bfd ,
struct stab_info ,
asection ,
void **  ,
bfd_byte  
)

bfd_boolean _bfd_write_stab_strings ( bfd ,
struct stab_info  
)

struct bfd_strtab_hash* _bfd_xcoff_stringtab_init ( void   )  [read]

Definition at line 640 of file hash.c.

References _bfd_stringtab_init(), NULL, ret, TRUE, and bfd_strtab_hash::xcoff.

Referenced by _bfd_xcoff_bfd_link_hash_table_create().

int bfd_0 ( bfd ignore  ) 

long bfd_0l ( bfd ignore  ) 

unsigned int bfd_0u ( bfd ignore  ) 

void* bfd_alloc ( bfd ,
bfd_size_type   
)

Definition at line 828 of file opncls.c.

References bfd_error_no_memory, bfd_set_error(), bfd::memory, NULL, objalloc_alloc, and ret.

void bfd_assert ( const char *  ,
int   
)

Definition at line 770 of file bfd.c.

References _, and BFD_VERSION_STRING.

void bfd_bsd_truncate_arname ( bfd abfd,
const char *  filename,
char *  hdr 
)

Definition at line 1504 of file archive.c.

References ar_maxnamelen, ar_hdr::ar_name, ar_padchar, filename, length, memcpy, NULL, strlen(), and strrchr().

Referenced by bfd_dont_truncate_arname().

bfd_boolean bfd_cache_close ( bfd abfd  ) 

Definition at line 339 of file cache.c.

References bfd_cache_delete(), bfd::iostream, bfd::iovec, NULL, and TRUE.

bfd_boolean bfd_cache_init ( bfd abfd  ) 

FILE* bfd_cache_lookup_worker ( bfd  ) 

const bfd_arch_info_type* bfd_default_compatible ( const bfd_arch_info_type a,
const bfd_arch_info_type b 
)

reloc_howto_type* bfd_default_reloc_type_lookup ( bfd abfd,
bfd_reloc_code_real_type  code 
)

Definition at line 4399 of file reloc.c.

References BFD_FAIL, bfd_get_arch_info(), BFD_RELOC_CTOR, and NULL.

bfd_boolean bfd_default_scan ( const struct bfd_arch_info info,
const char *  string 
)

bfd_boolean bfd_default_set_arch_mach ( bfd abfd,
enum bfd_architecture  arch,
unsigned long  mach 
)

void bfd_dont_truncate_arname ( bfd abfd,
const char *  filename,
char *  hdr 
)

struct elf_internal_shdr* bfd_elf_find_section ( bfd abfd,
char *  name 
) [read]

bfd_boolean bfd_false ( bfd ignore  ) 

const bfd_target* bfd_generic_archive_p ( bfd abfd  ) 

bfd_boolean bfd_generic_gc_sections ( bfd ,
struct bfd_link_info  
)

bfd_byte* bfd_generic_get_relocated_section_contents ( bfd abfd,
struct bfd_link_info link_info,
struct bfd_link_order link_order,
bfd_byte data,
bfd_boolean  relocatable,
asymbol **  symbols 
)

bfd_boolean bfd_generic_is_local_label_name ( bfd ,
const char *   
)

Definition at line 810 of file libbfd.c.

References bfd_get_symbol_leading_char.

bfd_boolean bfd_generic_merge_sections ( bfd ,
struct bfd_link_info  
)

bfd* bfd_generic_openr_next_archived_file ( bfd archive,
bfd last_file 
)

Definition at line 549 of file archive.c.

References _bfd_get_elt_at_filepos(), arelt_size, bfd_ardata, bfd::my_archive, bfd::origin, and size.

bfd_boolean bfd_generic_relax_section ( bfd abfd,
asection section,
struct bfd_link_info ,
bfd_boolean *   
)

int bfd_generic_stat_arch_elt ( bfd ,
struct stat  
)

void bfd_gnu_truncate_arname ( bfd abfd,
const char *  filename,
char *  hdr 
)

Definition at line 1552 of file archive.c.

References ar_maxnamelen, ar_hdr::ar_name, ar_padchar, filename, length, memcpy, NULL, strlen(), and strrchr().

unsigned int bfd_log2 ( bfd_vma  x  ) 

void* bfd_malloc ( bfd_size_type   ) 

Definition at line 146 of file libbfd.c.

References bfd_error_no_memory, bfd_set_error(), malloc, NULL, and ptr.

void* bfd_nullvoidptr ( bfd ignore  ) 

FILE* bfd_open_file ( bfd abfd  ) 

void* bfd_realloc ( void ,
bfd_size_type   
)

Definition at line 166 of file libbfd.c.

References bfd_error_no_memory, bfd_set_error(), malloc, NULL, realloc, and ret.

void bfd_release ( bfd ,
void  
)

Definition at line 871 of file opncls.c.

References bfd::memory, and objalloc_free_block().

void bfd_section_already_linked_table_insert ( struct bfd_section_already_linked_hash_entry ,
asection  
)

struct bfd_section_already_linked_hash_entry* bfd_section_already_linked_table_lookup ( const char *   )  [read]

Definition at line 2957 of file linker.c.

References _bfd_section_already_linked_table, bfd_hash_lookup(), FALSE, and TRUE.

void bfd_section_already_linked_table_traverse ( bfd_boolean(*)(struct bfd_section_already_linked_hash_entry *, void *)  ,
void  
)

Definition at line 2947 of file linker.c.

References _bfd_section_already_linked_table, bfd_hash_traverse(), and func.

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

Definition at line 661 of file section.c.

References bfd_hash_allocate(), bfd_hash_newfunc(), memset, and NULL.

bfd_boolean bfd_slurp_armap ( bfd abfd  ) 

bfd_boolean bfd_slurp_bsd_armap_f2 ( bfd abfd  ) 

bfd_boolean bfd_true ( bfd ignore  ) 

void bfd_void ( bfd ignore  ) 

bfd_boolean bfd_write_bigendian_4byte_int ( bfd ,
unsigned  int 
)

Definition at line 226 of file libbfd.c.

References bfd_bwrite(), and bfd_putb32().

Referenced by coff_write_armap().

void* bfd_zalloc ( bfd ,
bfd_size_type   
)

Definition at line 857 of file opncls.c.

References bfd_alloc(), and memset.

void* bfd_zmalloc ( bfd_size_type   ) 

Definition at line 190 of file libbfd.c.

References bfd_error_no_memory, bfd_set_error(), malloc, memset, NULL, and ptr.

bfd_boolean bsd_write_armap ( bfd arch,
unsigned int  elength,
struct orl map,
unsigned int  orl_count,
int  stridx 
)

bfd_boolean coff_write_armap ( bfd arch,
unsigned int  elength,
struct orl map,
unsigned int  orl_count,
int  stridx 
)

bfd_signed_vma read_signed_leb128 ( bfd ,
bfd_byte ,
unsigned int *   
)

bfd_vma read_unsigned_leb128 ( bfd ,
bfd_byte ,
unsigned int *   
)

int real_fseek ( FILE file,
file_ptr  offset,
int  whence 
)

Definition at line 59 of file bfdio.c.

References fseek.

Referenced by bfd_cache_lookup_worker(), and cache_bseek().

file_ptr real_ftell ( FILE file  ) 

Definition at line 47 of file bfdio.c.

References ftell().

Referenced by cache_btell(), and close_one().


Variable Documentation

Definition at line 1188 of file targets.c.

Definition at line 684 of file archures.c.

Referenced by _bfd_new_bfd(), bfd_make_readable(), bfd_preserve_save(), and srec_set_arch_mach().

Definition at line 1172 of file targets.c.

Definition at line 742 of file libbfd.h.

Definition at line 1167 of file targets.c.


Generated on Wed Apr 8 14:50:29 2009 for Open64 by  doxygen 1.5.6