Go to the source code of this file.
| #define _bfd_archive_bsd_generic_stat_arch_elt bfd_generic_stat_arch_elt |
| #define _bfd_archive_bsd_get_elt_at_index _bfd_generic_get_elt_at_index |
| #define _bfd_archive_bsd_openr_next_archived_file bfd_generic_openr_next_archived_file |
| #define _bfd_archive_bsd_read_ar_hdr _bfd_generic_read_ar_hdr |
| #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_coff_generic_stat_arch_elt bfd_generic_stat_arch_elt |
| #define _bfd_archive_coff_get_elt_at_index _bfd_generic_get_elt_at_index |
| #define _bfd_archive_coff_openr_next_archived_file bfd_generic_openr_next_archived_file |
| #define _bfd_archive_coff_read_ar_hdr _bfd_generic_read_ar_hdr |
| #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_generic_set_arch_mach bfd_default_set_arch_mach |
| #define _bfd_noarchive_construct_extended_name_table |
Value:
((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \ bfd_false)
| #define _bfd_noarchive_generic_stat_arch_elt bfd_generic_stat_arch_elt |
| #define _bfd_noarchive_write_armap |
| #define _bfd_nodynamic_get_dynamic_reloc_upper_bound _bfd_n1 |
| #define _bfd_nodynamic_get_dynamic_symtab_upper_bound _bfd_n1 |
| #define _bfd_nolink_bfd_discard_group |
Value:
((bfd_boolean (*) (bfd *, struct bfd_section *)) \ bfd_false)
| #define _bfd_nolink_bfd_final_link ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false) |
| #define _bfd_nolink_bfd_gc_sections |
Value:
((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \ bfd_false)
| #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)
| #define _bfd_nolink_bfd_is_group_section |
Value:
((bfd_boolean (*) (bfd *, const struct bfd_section *)) \ bfd_false)
| #define _bfd_nolink_bfd_link_add_symbols ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false) |
| #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_just_syms ((void (*) (asection *, struct bfd_link_info *)) bfd_void) |
| #define _bfd_nolink_bfd_link_split_section ((bfd_boolean (*) (bfd *, struct bfd_section *)) bfd_false) |
| #define _bfd_nolink_bfd_merge_sections |
Value:
((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \ bfd_false)
| #define _bfd_nolink_bfd_relax_section |
Value:
((bfd_boolean (*) \ (bfd *, asection *, struct bfd_link_info *, bfd_boolean *)) \ bfd_false)
| #define _bfd_nolink_section_already_linked ((void (*) (bfd *, struct bfd_section *)) bfd_void) |
| #define _bfd_nolink_sizeof_headers ((int (*) (bfd *, bfd_boolean)) bfd_0) |
| #define _bfd_norelocs_bfd_reloc_type_lookup ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr) |
| #define _bfd_nosymbols_bfd_is_local_label_name ((bfd_boolean (*) (bfd *, const char *)) bfd_false) |
| #define _bfd_nosymbols_find_nearest_line |
| #define _bfd_nosymbols_get_symbol_info ((void (*) (bfd *, asymbol *, symbol_info *)) bfd_void) |
| #define _bfd_nosymbols_make_empty_symbol _bfd_generic_make_empty_symbol |
| #define _bfd_nosymbols_minisymbol_to_symbol |
Value:
((asymbol *(*) (bfd *, bfd_boolean, const void *, asymbol *)) \ bfd_nullvoidptr)
| #define _bfd_nosymbols_print_symbol ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void) |
| #define _bfd_nowrite_set_arch_mach |
Value:
((bfd_boolean (*) (bfd *, enum bfd_architecture, unsigned long)) \ bfd_false)
| #define _bfd_nowrite_set_section_contents |
Value:
((bfd_boolean (*) (bfd *, asection *, const void *, file_ptr, bfd_size_type)) \ bfd_false)
| #define abort | ( | void | ) | _bfd_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__) |
| #define BFD_ALIGN | ( | this, | |||
| boundary | ) |
| #define BFD_ASSERT | ( | x | ) | do { if (!(x)) bfd_assert(__FILE__,__LINE__); } while (0) |
| #define bfd_cache_lookup | ( | x | ) |
Value:
((x) == bfd_last_cache ? \ (FILE *) (bfd_last_cache->iostream): \ bfd_cache_lookup_worker (x))
Definition at line 744 of file libbfd.h.
Referenced by cache_bflush(), cache_bread(), cache_bseek(), cache_bstat(), cache_btell(), cache_bwrite(), sco5_core_file_p(), and trad_unix_core_file_p().
| #define BFD_CACHE_MAX_OPEN 10 |
| #define BFD_FAIL | ( | ) | do { bfd_assert(__FILE__,__LINE__); } while (0) |
| void _bfd_abort | ( | const char * | , | |
| int | , | |||
| const char * | ||||
| ) |
Definition at line 784 of file bfd.c.
References _, _bfd_error_handler, BFD_VERSION_STRING, EXIT_FAILURE, NULL, and xexit().
Referenced by cris_elf_final_write_processing(), and mmix_elf_final_link().
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().
Definition at line 335 of file merge.c.
References abort, align, bfd_section::alignment_power, bfd_alloc(), bfd_get_section_contents(), sec_merge_info::chain, sec_merge_sec_info::contents, DYNAMIC, bfd_section::entsize, FALSE, sec_merge_sec_info::first_str, bfd_section::flags, bfd::flags, sec_merge_info::htab, sec_merge_sec_info::htab, sec_merge_info::next, sec_merge_sec_info::next, NULL, bfd_section::output_section, sec_merge_sec_info::psecinfo, sec_merge_sec_info::sec, SEC_EXCLUDE, SEC_MERGE, sec_merge_init(), SEC_RELOC, SEC_STRINGS, bfd_section::size, and TRUE.
| 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 * | ) |
Definition at line 1985 of file archive.c.
References _, ar_hdr::ar_date, ARMAP_TIME_OFFSET, bfd_ardata, bfd_bwrite(), bfd_flush(), bfd_perror(), bfd_seek(), bfd_stat(), FALSE, i, memset, offsetof, SARMAG, SEEK_SET, sprintf(), stat::st_mtime, and TRUE.
| 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 | |||
| ) |
Definition at line 1744 of file archive.c.
References orl::abfd, bfd::archive_head, bfd_alloc(), bfd_canonicalize_symtab, bfd_check_format(), bfd_free_cached_info, bfd_get_file_flags, bfd_get_symtab_upper_bound, bfd_is_com_section, bfd_is_und_section, bfd_malloc(), bfd_object, bfd_realloc(), bfd_release(), BFD_SEND, BSF_GLOBAL, BSF_INDIRECT, BSF_WEAK, FALSE, bfd::filename, flags, free(), HAS_SYMS, map, orl::name, orl::namidx, bfd::next, NULL, ret, sec, bfd_symbol::section, storage, strcmp(), strcpy, strlen(), symcount, and orl::u.
Referenced by _bfd_write_archive_contents(), xcoff_write_archive_contents_big(), and xcoff_write_archive_contents_old().
| bfd_boolean _bfd_construct_extended_name_table | ( | bfd * | , | |
| bfd_boolean | , | |||
| char ** | , | |||
| bfd_size_type * | ||||
| ) |
Definition at line 1178 of file archive.c.
References bfd_target::ar_max_namelen, ar_hdr::ar_name, ar_padchar, arch_hdr, bfd::archive_head, bfd_get_file_flags, BFD_TRADITIONAL_FORMAT, bfd_zalloc(), FALSE, bfd::filename, memcpy, bfd::next, normal, normalize(), NULL, sprintf(), strcpy, strlen(), strncmp(), TRUE, and bfd::xvec.
Referenced by _bfd_archive_bsd_construct_extended_name_table(), _bfd_archive_coff_construct_extended_name_table(), and _bfd_write_archive_contents().
| unsigned int _bfd_count_link_order_relocs | ( | struct bfd_link_order * | ) |
Definition at line 2872 of file linker.c.
References bfd_section_reloc_link_order, bfd_symbol_reloc_link_order, c, bfd_link_order::next, NULL, and bfd_link_order::type.
Definition at line 227 of file archive.c.
References _bfd_new_bfd_contained_in().
Referenced by _bfd_get_elt_at_filepos(), ieee_openr_next_archived_file(), and oasys_openr_next_archived_file().
| void _bfd_default_error_handler | ( | const char * | s, | |
| ... | ||||
| ) |
Definition at line 424 of file bfd.c.
References _bfd_error_program_name, abfd, abort, bfd_coff_get_comdat_section(), bfd_get_flavour, bfd_target_coff_flavour, bfd_target_elf_flavour, buf, ci, elf_group_name, elf_next_in_group, bfd::filename, bfd_section::flags, fprintf(), len, memcpy, bfd::my_archive, coff_comdat_info::name, bfd_section::name, NULL, bfd_section::owner, p, putc(), q, sec, SEC_GROUP, snprintf(), strchr, strlen(), va_arg, va_end, va_start, and vfprintf().
| bfd_boolean _bfd_default_link_order | ( | bfd * | , | |
| struct bfd_link_info * | , | |||
| asection * | , | |||
| struct bfd_link_order * | ||||
| ) |
Definition at line 2668 of file linker.c.
References abort, bfd_data_link_order, bfd_indirect_link_order, bfd_section_reloc_link_order, bfd_symbol_reloc_link_order, bfd_undefined_link_order, default_data_link_order(), default_indirect_link_order(), FALSE, and bfd_link_order::type.
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 ** | ||||
| ) |
Definition at line 1689 of file dwarf2.c.
References addr(), dwarf2_debug::all_comp_units, comp_unit::arange, bfd_alloc(), BFD_ASSERT, bfd_simple_get_relocated_section_contents(), bfd_zalloc(), comp_unit_contains_address(), comp_unit_find_nearest_line(), FALSE, find_debug_info(), arange::high, dwarf2_debug::info_ptr, dwarf2_debug::info_ptr_end, length, comp_unit::next_unit, NULL, bfd_section::output_offset, bfd_section::output_section, parse_comp_unit(), read_4_bytes(), read_8_bytes(), dwarf2_debug::sec, dwarf2_debug::sec_info_ptr, size, bfd_section::size, start, dwarf2_debug::syms, TRUE, and bfd_section::vma.
Referenced by _bfd_elf_find_nearest_line(), _bfd_mips_elf_find_nearest_line(), coff_find_nearest_line(), and elf64_alpha_find_nearest_line().
| 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 * | ||||
| ) |
Definition at line 2421 of file ecofflink.c.
References ecoff_find_line::cache, FALSE, ecoff_find_line::filename, ecoff_find_line::functionname, ecoff_find_line::line_num, lookup_line(), NULL, ecoff_find_line::sect, ecoff_find_line::start, ecoff_find_line::stop, TRUE, and bfd_section::vma.
Referenced by _bfd_ecoff_find_nearest_line(), _bfd_mips_elf_find_nearest_line(), and elf64_alpha_find_nearest_line().
| bfd_reloc_status_type _bfd_final_link_relocate | ( | reloc_howto_type * | , | |
| bfd * | , | |||
| asection * | , | |||
| bfd_byte * | , | |||
| bfd_vma | , | |||
| bfd_vma | , | |||
| bfd_vma | ||||
| ) |
Definition at line 1341 of file reloc.c.
References _bfd_relocate_contents(), bfd_get_section_limit, bfd_reloc_outofrange, bfd_section::output_offset, bfd_section::output_section, reloc_howto_struct::pc_relative, reloc_howto_struct::pcrel_offset, and bfd_section::vma.
| bfd_boolean _bfd_generic_final_link | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
Definition at line 2037 of file linker.c.
References _bfd_default_link_order(), _bfd_generic_hash_table, _bfd_generic_link_get_symbols, _bfd_generic_link_hash_traverse, _bfd_generic_link_output_symbols(), _bfd_generic_link_write_global_symbol(), _bfd_generic_reloc_link_order(), bfd_alloc(), BFD_ASSERT, bfd_canonicalize_reloc(), bfd_get_outsymbols, bfd_get_reloc_upper_bound(), bfd_get_symcount, bfd_indirect_link_order, bfd_malloc(), bfd_section_reloc_link_order, bfd_symbol_reloc_link_order, default_indirect_link_order(), FALSE, bfd_section::flags, free(), generic_add_output_symbol(), bfd_link_order::indirect, generic_write_global_symbol_info::info, input_bfd, bfd_link_info::input_bfds, input_section, bfd::link_next, bfd_section::link_order_head, bfd_section::next, bfd_link_order::next, NULL, o, bfd_section::orelocation, generic_write_global_symbol_info::output_bfd, bfd_section::owner, p, generic_write_global_symbol_info::psymalloc, bfd_section::reloc_count, bfd_link_info::relocatable, relocs, relsize, SEC_RELOC, bfd::sections, sub, symbols, TRUE, bfd_link_order::type, and bfd_link_order::u.
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 *) | ||||
| ) |
Definition at line 967 of file linker.c.
References archive_hash_allocate, archive_hash_lookup, archive_hash_newfunc(), archive_hash_table_free, archive_hash_table_init(), bfd::archive_pass, bfd_ardata, bfd_check_format(), bfd_error_no_armap, bfd_get_elt_at_index, bfd_has_map, bfd_link_hash_common, bfd_link_hash_undefined, bfd_malloc(), bfd_object, bfd_openr_next_archived_file(), bfd_set_error(), buf, archive_hash_entry::defs, element, FALSE, free(), h, bfd_link_info::hash, archive_list::indx, indx, carsym::name, archive_list::next, NULL, bfd_link_info::pei386_auto_import, bfd_link_hash_entry::root, sprintf(), bfd_hash_entry::string, strlen(), TRUE, bfd_link_hash_entry::type, bfd_link_hash_entry::u, bfd_link_hash_entry::undef, bfd_link_hash_table::undefs, and bfd_link_hash_table::undefs_tail.
| 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 * | ||||
| ) |
| bfd_boolean _bfd_generic_link_add_symbols_collect | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
| struct bfd_link_hash_table* _bfd_generic_link_hash_table_create | ( | bfd * | ) | [read] |
Definition at line 712 of file linker.c.
References _bfd_generic_link_hash_newfunc(), _bfd_link_hash_table_init(), bfd_malloc(), free(), NULL, ret, and generic_link_hash_table::root.
| void _bfd_generic_link_hash_table_free | ( | struct bfd_link_hash_table * | ) |
Definition at line 730 of file linker.c.
References bfd_hash_table_free(), free(), ret, generic_link_hash_table::root, and bfd_link_hash_table::table.
| void _bfd_generic_link_just_syms | ( | asection * | , | |
| struct bfd_link_info * | ||||
| ) |
| bfd_boolean _bfd_generic_link_split_section | ( | bfd * | , | |
| struct bfd_section * | ||||
| ) |
| 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.
Definition at line 332 of file archive.c.
References ar_hdr::ar_fmag, ar_maxnamelen, ar_hdr::ar_name, ar_hdr::ar_size, areltdata::arch_header, ARFMAG, atoi(), bfd_ardata, bfd_bread(), bfd_error_malformed_archive, bfd_error_no_more_archived_files, bfd_error_system_call, bfd_get_error(), bfd_set_error(), bfd_zalloc(), errno, filename, areltdata::filename, get_extended_arelt_filename(), ISDIGIT, memchr(), memcpy, NULL, areltdata::parsed_size, strncmp(), and strtol().
Referenced by _bfd_generic_read_ar_hdr(), and alpha_ecoff_read_ar_hdr().
Definition at line 776 of file syms.c.
References bfd_canonicalize_dynamic_symtab, bfd_canonicalize_symtab, bfd_error_no_symbols, bfd_get_dynamic_symtab_upper_bound, bfd_get_symtab_upper_bound, bfd_malloc(), bfd_set_error(), free(), NULL, storage, and symcount.
| bfd_boolean _bfd_generic_reloc_link_order | ( | bfd * | , | |
| struct bfd_link_info * | , | |||
| asection * | , | |||
| struct bfd_link_order * | ||||
| ) |
Definition at line 2538 of file linker.c.
References _bfd_relocate_contents(), abort, reloc_cache_entry::addend, reloc_cache_entry::address, bfd_alloc(), bfd_error_bad_value, bfd_get_reloc_size(), bfd_octets_per_byte(), bfd_reloc_ok, bfd_reloc_outofrange, bfd_reloc_overflow, bfd_reloc_type_lookup(), bfd_section_name, bfd_section_reloc_link_order, bfd_set_error(), bfd_set_section_contents(), bfd_wrapped_link_hash_lookup(), bfd_zmalloc(), buf, bfd_link_info::callbacks, FALSE, free(), h, reloc_cache_entry::howto, reloc_howto_struct::name, NULL, bfd_link_order::offset, ok(), bfd_section::orelocation, reloc_howto_struct::partial_inplace, r, bfd_link_order::reloc, bfd_section::reloc_count, bfd_link_callbacks::reloc_overflow, bfd_link_info::relocatable, size, generic_link_hash_entry::sym, reloc_cache_entry::sym_ptr_ptr, TRUE, bfd_link_order::type, bfd_link_order::u, bfd_link_callbacks::unattached_reloc, and generic_link_hash_entry::written.
| void _bfd_generic_section_already_linked | ( | bfd * | , | |
| struct bfd_section * | ||||
| ) |
Definition at line 3008 of file linker.c.
References _, abort, bfd_abs_section_ptr, bfd_coff_get_comdat_section(), bfd_get_flavour, bfd_get_section_name, bfd_section_already_linked_table_insert(), bfd_section_already_linked_table_lookup(), bfd_target_coff_flavour, bfd_section_already_linked_hash_entry::entry, FALSE, bfd_section::flags, flags, bfd_section::kept_section, coff_comdat_info::name, bfd_section_already_linked::next, NULL, bfd_section::output_section, bfd_section::owner, bfd_section_already_linked::sec, SEC_GROUP, SEC_LINK_DUPLICATES, SEC_LINK_DUPLICATES_DISCARD, SEC_LINK_DUPLICATES_ONE_ONLY, SEC_LINK_DUPLICATES_SAME_CONTENTS, SEC_LINK_DUPLICATES_SAME_SIZE, SEC_LINK_ONCE, bfd_section::size, skip, strcmp(), and TRUE.
| bfd_boolean _bfd_generic_set_section_contents | ( | bfd * | , | |
| asection * | , | |||
| const void * | , | |||
| file_ptr | , | |||
| bfd_size_type | ||||
| ) |
Definition at line 821 of file libbfd.c.
References _, bfd_big_endian, BFD_ENDIAN_UNKNOWN, bfd_error_wrong_format, bfd_set_error(), bfd_target::byteorder, FALSE, msg, TRUE, and bfd::xvec.
Definition at line 465 of file archive.c.
References _bfd_add_bfd_to_archive_cache(), _bfd_create_empty_archive_element_shell(), _bfd_look_for_bfd_in_cache(), _bfd_read_ar_hdr, bfd::arelt_data, bfd_release(), bfd_seek(), bfd_tell(), areltdata::filename, bfd::filename, bfd::my_archive, NULL, bfd::origin, and SEEK_SET.
Referenced by _bfd_generic_get_elt_at_index(), _bfd_xcoff_openr_next_archived_file(), alpha_ecoff_get_elt_at_filepos(), bfd_generic_openr_next_archived_file(), elf_link_add_archive_symbols(), elf_link_is_defined_archive_symbol(), and xcoff64_openr_next_archived_file().
Definition at line 946 of file bfd.c.
References bfd_object, bfd_target_ecoff_flavour, bfd_target_elf_flavour, ecoff_data, elf_gp, bfd_target::flavour, bfd::format, and bfd::xvec.
Referenced by _bfd_mips_elf_relocate_section(), alpha_ecoff_get_relocated_section_contents(), alpha_relocate_section(), coff_pe_mips_relocate_section(), elf64_alpha_reloc_gpdisp(), elf64_alpha_relocate_section(), elf64_hppa_finalize_opd(), elf64_hppa_finish_dynamic_sections(), elf64_hppa_finish_dynamic_symbol(), elfNN_ia64_final_link(), elfNN_ia64_finish_dynamic_sections(), elfNN_ia64_finish_dynamic_symbol(), elfNN_ia64_relax_section(), elfNN_ia64_relocate_section(), mips_elf64_assign_gp(), mips_elf64_final_gp(), mips_elf_assign_gp(), mips_elf_calculate_relocation(), mips_elf_final_gp(), mips_elf_got_offset_from_index(), mips_elf_gprel32_reloc(), mips_gprel_reloc(), mips_relocate_section(), ppc64_elf_toc64_reloc(), ppc64_elf_toc_ha_reloc(), ppc64_elf_toc_reloc(), set_fptr_entry(), and set_pltoff_entry().
| struct bfd_hash_entry* _bfd_link_hash_newfunc | ( | struct bfd_hash_entry * | entry, | |
| struct bfd_hash_table * | table, | |||
| const char * | string | |||
| ) | [read] |
Definition at line 446 of file linker.c.
References bfd_hash_allocate(), bfd_hash_newfunc(), bfd_link_hash_new, h, memset, NULL, offsetof, bfd_link_hash_entry::type, bfd_link_hash_entry::u, and bfd_link_hash_entry::undef.
| 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 * | ||||
| ) |
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 *) | ||||
| ) |
Definition at line 54 of file opncls.c.
References _bfd_id_counter, bfd::arch_info, bfd_default_arch_struct, bfd_error_no_memory, bfd_hash_table_init_n(), BFD_NO_FLAGS, bfd_section_hash_newfunc(), bfd_set_error(), bfd_unknown, bfd_zmalloc(), bfd::cacheable, bfd::direction, FALSE, bfd::flags, bfd::format, free(), bfd::id, bfd::iostream, bfd::memory, bfd::mtime_set, bfd::my_archive, NULL, objalloc_create(), bfd::opened_once, bfd::origin, bfd::output_has_begun, bfd::section_count, bfd::section_htab, bfd::section_tail, bfd::sections, bfd::usrdata, and bfd::where.
Definition at line 102 of file opncls.c.
References _bfd_new_bfd(), bfd::direction, bfd::iovec, bfd::my_archive, NULL, bfd::target_defaulted, and bfd::xvec.
| char* _bfd_nocore_core_file_failing_command | ( | bfd * | ) |
| int _bfd_nocore_core_file_failing_signal | ( | bfd * | ) |
| bfd_reloc_status_type _bfd_relocate_contents | ( | reloc_howto_type * | , | |
| bfd * | , | |||
| bfd_vma | , | |||
| bfd_byte * | ||||
| ) |
Definition at line 1386 of file reloc.c.
References a, abort, b, bfd_arch_bits_per_address(), bfd_get_16, bfd_get_32, bfd_get_64, bfd_get_8, bfd_get_reloc_size(), bfd_put_16, bfd_put_32, bfd_put_64, bfd_put_8, bfd_reloc_ok, bfd_reloc_overflow, bitpos(), reloc_howto_struct::bitpos, reloc_howto_struct::bitsize, reloc_howto_struct::complain_on_overflow, complain_overflow_bitfield, complain_overflow_dont, complain_overflow_signed, complain_overflow_unsigned, reloc_howto_struct::dst_mask, N_ONES, reloc_howto_struct::rightshift, size, reloc_howto_struct::size, reloc_howto_struct::src_mask, ss, and x.
Definition at line 964 of file bfd.c.
References BFD_FAIL, bfd_object, bfd_target_ecoff_flavour, bfd_target_elf_flavour, ecoff_data, elf_gp, bfd_target::flavour, bfd::format, and bfd::xvec.
Referenced by alpha_ecoff_get_relocated_section_contents(), alpha_relocate_section(), elf64_alpha_relocate_section(), elfNN_ia64_choose_gp(), mips_elf64_assign_gp(), mips_elf64_final_gp(), mips_elf_assign_gp(), mips_elf_final_gp(), mips_gprel_reloc(), and mips_relocate_section().
| 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 ** | ||||
| ) |
Definition at line 903 of file syms.c.
References _, reloc_cache_entry::addend, reloc_cache_entry::address, bfd_alloc(), bfd_canonicalize_reloc(), bfd_error_invalid_operation, bfd_get_16, bfd_get_32, bfd_get_filename, bfd_get_reloc_upper_bound(), bfd_get_section_by_name(), bfd_get_section_contents(), bfd_get_section_vma, bfd_malloc(), bfd_put_32, bfd_set_error(), bfd_zalloc(), reloc_howto_struct::bitpos, reloc_howto_struct::bitsize, stab_find_info::cached_file_name, stab_find_info::cached_indexentry, stab_find_info::cached_offset, stab_find_info::cached_stab, cmpindexentry(), DESCOFF, indexentry::directory_name, reloc_howto_struct::dst_mask, FALSE, file_name, indexentry::file_name, stab_find_info::filename, free(), indexentry::function_name, high, reloc_cache_entry::howto, i, stab_find_info::indextable, stab_find_info::indextablesize, info, IS_ABSOLUTE_PATH, len, low, memcpy, NULL, reloc_howto_struct::pc_relative, pr, qsort(), r, bfd_section::rawsize, reloc_howto_struct::rightshift, s, bfd_symbol::section, bfd_section::size, reloc_howto_struct::size, reloc_howto_struct::src_mask, indexentry::stab, stab_find_info::stabs, stab_find_info::stabsec, STABSIZE, str, indexentry::str, strchr, strcmp(), STRDXOFF, strlen(), strncmp(), stab_find_info::strs, stab_find_info::strsec, strsize, sym, reloc_cache_entry::sym_ptr_ptr, TRUE, TYPEOFF, val, indexentry::val, VALOFF, bfd_symbol::value, and bfd_section::vma.
| bfd_size_type _bfd_stringtab_add | ( | struct bfd_strtab_hash * | , | |
| const char * | , | |||
| bfd_boolean | hash, | |||
| bfd_boolean | copy | |||
| ) |
Definition at line 665 of file hash.c.
References bfd_hash_allocate(), strtab_hash_entry::index, n, strtab_hash_entry::next, NULL, strtab_hash_entry::root, bfd_hash_entry::string, strlen(), strtab_hash_lookup, and TRUE.
Referenced by _bfd_coff_final_link(), _bfd_coff_link_input_bfd(), _bfd_coff_write_global_sym(), _bfd_elf_stringtab_init(), _bfd_link_section_stabs(), _bfd_xcoff64_put_symbol_name(), _bfd_xcoff_put_symbol_name(), add_to_stringtab(), bfd_xcoff_size_dynamic_sections(), elf_link_output_sym(), swap_out_syms(), and xcoff_link_input_bfd().
| bfd_boolean _bfd_stringtab_emit | ( | bfd * | , | |
| struct bfd_strtab_hash * | ||||
| ) |
Definition at line 733 of file hash.c.
References bfd_bwrite(), bfd_put_16, buf, FALSE, bfd_strtab_hash::first, len, strtab_hash_entry::next, NULL, PTR, strtab_hash_entry::root, str, bfd_hash_entry::string, strlen(), TRUE, and bfd_strtab_hash::xcoff.
Referenced by _bfd_coff_final_link(), _bfd_elf_compute_section_file_positions(), _bfd_write_stab_strings(), _bfd_xcoff_bfd_final_link(), bfd_elf_final_link(), elf_bfd_final_link(), emit_stringtab(), and ppc_bfd_coff_final_link().
| void _bfd_stringtab_free | ( | struct bfd_strtab_hash * | ) |
Definition at line 653 of file hash.c.
References bfd_hash_table_free(), and free().
Referenced by _bfd_coff_final_link(), _bfd_elf_compute_section_file_positions(), _bfd_elf_stringtab_init(), _bfd_write_stab_strings(), _bfd_xcoff_bfd_final_link(), _bfd_xcoff_bfd_link_hash_table_free(), bfd_elf_final_link(), elf_bfd_final_link(), NAME(), ppc_bfd_coff_final_link(), and swap_out_syms().
| struct bfd_strtab_hash* _bfd_stringtab_init | ( | void | ) | [read] |
Definition at line 612 of file hash.c.
References bfd_hash_table_init(), bfd_malloc(), FALSE, bfd_strtab_hash::first, free(), bfd_strtab_hash::last, NULL, bfd_strtab_hash::size, strtab_hash_newfunc(), bfd_strtab_hash::table, and bfd_strtab_hash::xcoff.
Referenced by _bfd_coff_final_link(), _bfd_elf_stringtab_init(), _bfd_link_section_stabs(), _bfd_xcoff_bfd_final_link(), _bfd_xcoff_stringtab_init(), NAME(), and ppc_bfd_coff_final_link().
| bfd_size_type _bfd_stringtab_size | ( | struct bfd_strtab_hash * | ) |
Definition at line 723 of file hash.c.
Referenced by _bfd_coff_final_link(), _bfd_link_section_stabs(), _bfd_write_section_stabs(), _bfd_write_stab_strings(), _bfd_xcoff_bfd_final_link(), bfd_elf_final_link(), bfd_xcoff_size_dynamic_sections(), elf_bfd_final_link(), emit_stringtab(), ppc_bfd_coff_final_link(), and swap_out_syms().
| bfd_boolean _bfd_write_archive_contents | ( | bfd * | abfd | ) |
Definition at line 1597 of file archive.c.
References _, _bfd_compute_and_write_armap(), _bfd_construct_extended_name_table(), ar_hdr::ar_fmag, ar_hdr::ar_name, ar_hdr::ar_size, arch_hdr, bfd::archive_head, bfd::arelt_data, arelt_size, ARFMAG, ARMAG, bfd_ar_hdr_from_filesystem(), bfd_bread(), bfd_bwrite(), bfd_check_format(), bfd_error_invalid_operation, bfd_error_malformed_archive, bfd_error_system_call, bfd_get_error(), bfd_has_map, bfd_object, bfd_seek(), BFD_SEND, bfd_set_error(), bfd_update_armap_timestamp, bfd_write_p, DEFAULT_BUFFERSIZE, errno, FALSE, bfd::filename, i, memset, bfd::next, NULL, SARMAG, SEEK_SET, sprintf(), strcpy, strncpy(), and TRUE.
Definition at line 760 of file merge.c.
References bfd_seek(), FALSE, bfd_section::filepos, sec_merge_sec_info::first_str, NULL, bfd_section::output_offset, bfd_section::output_section, pos(), sec_merge_emit(), SEEK_SET, and TRUE.
| bfd_boolean _bfd_write_section_stabs | ( | bfd * | , | |
| struct stab_info * | , | |||
| asection * | , | |||
| void ** | , | |||
| bfd_byte * | ||||
| ) |
Definition at line 764 of file stabs.c.
References _bfd_stringtab_emit(), _bfd_stringtab_free(), _bfd_stringtab_size(), BFD_ASSERT, bfd_hash_table_free(), bfd_is_abs_section, bfd_seek(), FALSE, bfd_section::filepos, stab_info::includes, bfd_section::output_offset, bfd_section::output_section, SEEK_SET, bfd_section::size, stab_info::stabstr, stab_info::strings, and TRUE.
| 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 | ) |
| 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 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 | ) |
Definition at line 308 of file cache.c.
References BFD_ASSERT, BFD_CACHE_MAX_OPEN, close_one(), FALSE, insert(), bfd::iostream, bfd::iovec, NULL, open_files, and TRUE.
Referenced by bfd_fdopenr(), bfd_open_file(), and bfd_openstreamr().
Definition at line 478 of file cache.c.
References abort, BFD_IN_MEMORY, bfd_open_file(), bfd::flags, insert(), bfd::iostream, bfd::my_archive, NULL, real_fseek(), SEEK_SET, snip(), and bfd::where.
| const bfd_arch_info_type* bfd_default_compatible | ( | const bfd_arch_info_type * | a, | |
| const bfd_arch_info_type * | b | |||
| ) |
Definition at line 822 of file archures.c.
References bfd_arch_info::arch, bfd_arch_info::bits_per_word, bfd_arch_info::mach, and NULL.
Referenced by powerpc_compatible(), and rs6000_compatible().
| 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 | |||
| ) |
Definition at line 724 of file archures.c.
References bfd::arch_info, bfd_error_bad_value, bfd_lookup_arch(), bfd_set_error(), FALSE, NULL, and TRUE.
Definition at line 1467 of file archive.c.
References abort, ar_maxnamelen, ar_hdr::ar_name, ar_padchar, bfd_bsd_truncate_arname(), bfd_get_file_flags, BFD_TRADITIONAL_FORMAT, filename, length, memcpy, normalize(), NULL, and strlen().
| struct elf_internal_shdr* bfd_elf_find_section | ( | bfd * | abfd, | |
| char * | name | |||
| ) | [read] |
Definition at line 868 of file elf.c.
References bfd_elf_get_str_section(), elf_elfheader, elf_elfsections, elf_numsections, i, max, NULL, elf_internal_shdr::sh_name, and strcmp().
| bfd_boolean bfd_false | ( | bfd * | ignore | ) |
| const bfd_target* bfd_generic_archive_p | ( | bfd * | abfd | ) |
Definition at line 571 of file archive.c.
References _bfd_slurp_extended_name_table(), ARMAG, ARMAGB, bfd_ardata, bfd_bread(), bfd_check_format(), bfd_error_system_call, bfd_error_wrong_format, bfd_error_wrong_object_format, bfd_get_error(), bfd_has_map, bfd_object, bfd_openr_next_archived_file(), bfd_release(), BFD_SEND, bfd_set_error(), bfd_zalloc(), fail, FALSE, first, NULL, SARMAG, strncmp(), bfd::target_defaulted, and bfd::xvec.
| 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 | |||
| ) |
Definition at line 4529 of file reloc.c.
References abort, BFD_ASSERT, bfd_asymbol_name, bfd_canonicalize_reloc(), bfd_get_reloc_upper_bound(), bfd_get_section_contents(), bfd_malloc(), bfd_perform_relocation(), bfd_reloc_dangerous, bfd_reloc_ok, bfd_reloc_outofrange, bfd_reloc_overflow, bfd_reloc_undefined, bfd_link_info::callbacks, free(), bfd_link_order::indirect, input_bfd, input_section, NULL, bfd_section::orelocation, bfd_section::output_section, r, bfd_section::rawsize, bfd_section::reloc_count, bfd_link_callbacks::reloc_dangerous, bfd_link_callbacks::reloc_overflow, bfd_section::size, sz(), TRUE, bfd_link_order::u, and bfd_link_callbacks::undefined_symbol.
Referenced by b_out_bfd_get_relocated_section_contents(), bfd_coff_reloc16_get_relocated_section_contents(), elf32_h8_get_relocated_section_contents(), mn10200_elf_get_relocated_section_contents(), mn10300_elf_get_relocated_section_contents(), sh_coff_get_relocated_section_contents(), sh_elf64_get_relocated_section_contents(), and sh_elf_get_relocated_section_contents().
| bfd_boolean bfd_generic_is_local_label_name | ( | bfd * | , | |
| const char * | ||||
| ) |
| bfd_boolean bfd_generic_merge_sections | ( | bfd * | , | |
| struct bfd_link_info * | ||||
| ) |
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 * | ||||
| ) |
Definition at line 1412 of file archive.c.
References ar_hdr::ar_date, ar_hdr::ar_gid, ar_hdr::ar_mode, ar_hdr::ar_uid, arch_eltdata, arch_hdr, bfd::arelt_data, bfd_error_invalid_operation, bfd_set_error(), foo2, NULL, and stat::st_size.
Referenced by vms_generic_stat_arch_elt().
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 | ) |
Definition at line 800 of file libbfd.c.
References result.
Referenced by _bfd_elf_make_section_from_phdr(), _bfd_elf_make_section_from_shdr(), _bfd_elf_print_private_bfd_data(), _bfd_generic_link_add_one_symbol(), _bfd_mn10300_elf_adjust_dynamic_symbol(), aout_link_check_ar_symbols(), elf32_hppa_adjust_dynamic_symbol(), elf32_sparc_adjust_dynamic_symbol(), elf64_x86_64_adjust_dynamic_symbol(), elf_cris_adjust_dynamic_symbol(), elf_i386_adjust_dynamic_symbol(), elf_link_add_object_symbols(), elf_m68k_adjust_dynamic_symbol(), elf_s390_adjust_dynamic_symbol(), elf_vax_adjust_dynamic_symbol(), generic_link_check_archive_element(), i370_elf_adjust_dynamic_symbol(), ieee_slurp_sections(), m32r_elf_adjust_dynamic_symbol(), ppc64_elf_adjust_dynamic_symbol(), ppc_elf_adjust_dynamic_symbol(), sh64_elf64_adjust_dynamic_symbol(), sh_elf_adjust_dynamic_symbol(), sparc64_elf_adjust_dynamic_symbol(), and swap_out_syms().
| 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.
Definition at line 394 of file cache.c.
References bfd_cache_init(), BFD_CACHE_MAX_OPEN, bfd::cacheable, close_one(), bfd::direction, bfd::filename, fopen, FOPEN_RB, FOPEN_RUB, FOPEN_WUB, bfd::iostream, NULL, open_files, bfd::opened_once, PTR, stat::st_size, TRUE, and unlink_if_ordinary().
Referenced by bfd_cache_lookup_worker(), bfd_openr(), and bfd_openw().
| 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_section_already_linked_table_insert | ( | struct bfd_section_already_linked_hash_entry * | , | |
| asection * | ||||
| ) |
Definition at line 2966 of file linker.c.
References _bfd_section_already_linked_table, bfd_hash_allocate(), bfd_section_already_linked_hash_entry::entry, bfd_section_already_linked::next, and bfd_section_already_linked::sec.
| 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 | ) |
Definition at line 863 of file archive.c.
References bfd_bread(), bfd_elf64_archive_slurp_armap(), bfd_error_wrong_format, bfd_has_map, bfd_seek(), bfd_set_error(), do_slurp_bsd_armap(), do_slurp_coff_armap(), FALSE, i, SEEK_CUR, strncmp(), and TRUE.
Referenced by _bfd_ecoff_slurp_armap(), and bfd_elf64_archive_slurp_armap().
| bfd_boolean bfd_slurp_bsd_armap_f2 | ( | bfd * | abfd | ) |
Definition at line 905 of file archive.c.
References _bfd_read_ar_hdr, bfd_alloc(), bfd_ardata, bfd_bread(), bfd_error_malformed_archive, bfd_error_system_call, bfd_error_wrong_format, bfd_get_error(), bfd_has_map, bfd_release(), bfd_seek(), bfd_set_error(), bfd_tell(), bfd_zalloc(), BSD_STRING_COUNT_SIZE, BSD_SYMDEF_OFFSET_SIZE, BSD_SYMDEF_SIZE, artdata::cache, do_slurp_bsd_armap(), FALSE, artdata::first_file_filepos, H_GET_16, H_GET_32, HPUX_SYMDEF_COUNT_SIZE, i, NULL, areltdata::parsed_size, SEEK_CUR, strncmp(), artdata::symdef_count, artdata::symdefs, and TRUE.
| bfd_boolean bfd_true | ( | 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 | ||||
| ) |
| 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 | |||
| ) |
Definition at line 1888 of file archive.c.
References orl::abfd, ar_hdr::ar_date, ar_hdr::ar_fmag, ar_hdr::ar_gid, ar_hdr::ar_name, ar_hdr::ar_size, ar_hdr::ar_uid, bfd::archive_head, arelt_size, ARFMAG, ARMAP_TIME_OFFSET, bfd_ardata, bfd_bwrite(), BSD_SYMDEF_OFFSET_SIZE, BSD_SYMDEF_SIZE, buf, count, FALSE, bfd::filename, getgid, getuid, H_PUT_32, i, len, mapsize, memset, bfd::next, offsetof, RANLIBMAG, sprintf(), stat::st_mtime, stat, strlen(), strncpy(), and TRUE.
| bfd_boolean coff_write_armap | ( | bfd * | arch, | |
| unsigned int | elength, | |||
| struct orl * | map, | |||
| unsigned int | orl_count, | |||
| int | stridx | |||
| ) |
Definition at line 2046 of file archive.c.
References orl::abfd, ar_hdr::ar_date, ar_hdr::ar_fmag, ar_hdr::ar_gid, ar_hdr::ar_mode, ar_hdr::ar_name, ar_hdr::ar_size, ar_hdr::ar_uid, bfd::archive_head, arelt_size, ARFMAG, bfd_bwrite(), bfd_write_bigendian_4byte_int(), count, FALSE, i, len, mapsize, memset, bfd::next, NULL, sprintf(), strlen(), strncpy(), time, and TRUE.
| bfd_signed_vma read_signed_leb128 | ( | bfd * | , | |
| bfd_byte * | , | |||
| unsigned int * | ||||
| ) |
Definition at line 59 of file bfdio.c.
References fseek.
Referenced by bfd_cache_lookup_worker(), and cache_bseek().
Definition at line 47 of file bfdio.c.
References ftell().
Referenced by cache_btell(), and close_one().
Definition at line 570 of file bfd.c.
Referenced by _bfd_abort(), _bfd_coff_arm_set_private_flags(), _bfd_coff_write_global_sym(), _bfd_elf_add_dynamic_entry(), _bfd_elf_merge_symbol(), _bfd_elf_section_already_linked(), _bfd_vms_enter_symbol(), adjust_toc_syms(), assign_file_positions_for_segments(), bfd_arm_merge_machines(), bfd_arm_process_before_allocation(), bfd_get_error_handler(), bfd_set_error_handler(), coff_arm_copy_private_bfd_data(), coff_arm_merge_private_bfd_data(), coff_arm_relocate_section(), coff_mcore_relocate_section(), coff_ppc_relocate_section(), cris_elf_relocate_section(), elf64_alpha_calc_got_offsets_for_symbol(), elf64_x86_64_relocate_section(), elf_link_add_object_symbols(), elf_vax_check_relocs(), elf_vax_relocate_section(), find_arm_glue(), find_thumb_glue(), frv_elf_merge_private_bfd_data(), i370_elf_check_relocs(), i370_elf_relocate_section(), ip2k_final_link_relocate(), ip2k_relax_switch_table_128(), ip2k_relax_switch_table_256(), iq2000_elf_merge_private_bfd_data(), mcore_coff_unsupported_reloc(), mcore_elf_relocate_section(), mcore_elf_unsupported_reloc(), mmix_dump_bpo_gregs(), mmix_final_link_relocate(), mmo_write_object_contents(), ppc64_elf_relocate_section(), ppc_elf_check_relocs(), ppc_elf_final_write_processing(), ppc_elf_relocate_section(), sh_elf_merge_private_data(), swap_out_syms(), v850_elf_check_relocs(), v850_elf_merge_private_bfd_data(), and xcoff_write_global_symbol().
| const bfd_target* const* bfd_associated_vector |
Definition at line 684 of file archures.c.
Referenced by _bfd_new_bfd(), bfd_make_readable(), bfd_preserve_save(), and srec_set_arch_mach().
| const bfd_target* bfd_default_vector[] |
| const bfd_target* const* bfd_target_vector |
1.5.6