Home | History | Annotate | Download | only in include

Lines Matching refs:abfd

204 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
266 bfd *abfd;
484 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \
486 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
487 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \
489 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
491 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \
493 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
494 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \
496 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
502 #define bfd_get_filename(abfd) ((char *) (abfd)->filename)
503 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
504 #define bfd_get_format(abfd) ((abfd)->format)
505 #define bfd_get_target(abfd) ((abfd)->xvec->name)
506 #define bfd_get_flavour(abfd) ((abfd)->xvec->flavour)
507 #define bfd_family_coff(abfd) \
508 (bfd_get_flavour (abfd) == bfd_target_coff_flavour || \
509 bfd_get_flavour (abfd) == bfd_target_xcoff_flavour)
510 #define bfd_big_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_BIG)
511 #define bfd_little_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_LITTLE)
512 #define bfd_header_big_endian(abfd) \
513 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_BIG)
514 #define bfd_header_little_endian(abfd) \
515 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_LITTLE)
516 #define bfd_get_file_flags(abfd) ((abfd)->flags)
517 #define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
518 #define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
519 #define bfd_my_archive(abfd) ((abfd)->my_archive)
520 #define bfd_has_map(abfd) ((abfd)->has_armap)
521 #define bfd_is_thin_archive(abfd) ((abfd)->is_thin_archive)
523 #define bfd_valid_reloc_types(abfd) ((abfd)->xvec->valid_reloc_types)
524 #define bfd_usrdata(abfd) ((abfd)->usrdata)
526 #define bfd_get_start_address(abfd) ((abfd)->start_address)
527 #define bfd_get_symcount(abfd) ((abfd)->symcount)
528 #define bfd_get_outsymbols(abfd) ((abfd)->outsymbols)
529 #define bfd_count_sections(abfd) ((abfd)->section_count)
531 #define bfd_get_dynamic_symcount(abfd) ((abfd)->dynsymcount)
533 #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
535 #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
538 (bfd *abfd);
594 (bfd * abfd);
596 (bfd *abfd, bfd_vma gp_value);
598 (bfd *abfd, unsigned long gprmask, unsigned long fprmask,
616 (bfd *abfd, struct ecoff_debug_info *debug,
621 (bfd *abfd, struct ecoff_debug_info *debug,
625 (bfd *abfd, struct ecoff_debug_info *debug,
628 (bfd *abfd, struct ecoff_debug_info *debug,
631 (void *handle, bfd *abfd, struct ecoff_debug_info *debug,
686 copy of ABFD's program header table entries. Return -1 if an error
689 (bfd *abfd);
691 /* Copy ABFD's program header table entries to *PHDRS. The entries
699 (bfd *abfd, void *phdrs);
1034 int (*stat_func) (struct bfd *abfd,
1040 bfd_boolean bfd_close (bfd *abfd);
1046 bfd_boolean bfd_make_writable (bfd *abfd);
1048 bfd_boolean bfd_make_readable (bfd *abfd);
1050 void *bfd_alloc (bfd *abfd, bfd_size_type wanted);
1052 void *bfd_zalloc (bfd *abfd, bfd_size_type wanted);
1057 char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
1060 (bfd *abfd, const char *filename);
1063 (bfd *abfd, struct bfd_section *sect, const char *filename);
1069 #define bfd_put_8(abfd, val, ptr) \
1073 #define bfd_get_8(abfd, ptr) \
1075 #define bfd_get_signed_8(abfd, ptr) \
1078 #define bfd_put_16(abfd, val, ptr) \
1079 BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
1082 #define bfd_get_16(abfd, ptr) \
1083 BFD_SEND (abfd, bfd_getx16, (ptr))
1084 #define bfd_get_signed_16(abfd, ptr) \
1085 BFD_SEND (abfd, bfd_getx_signed_16, (ptr))
1087 #define bfd_put_32(abfd, val, ptr) \
1088 BFD_SEND (abfd, bfd_putx32, ((val),(ptr)))
1091 #define bfd_get_32(abfd, ptr) \
1092 BFD_SEND (abfd, bfd_getx32, (ptr))
1093 #define bfd_get_signed_32(abfd, ptr) \
1094 BFD_SEND (abfd, bfd_getx_signed_32, (ptr))
1096 #define bfd_put_64(abfd, val, ptr) \
1097 BFD_SEND (abfd, bfd_putx64, ((val), (ptr)))
1100 #define bfd_get_64(abfd, ptr) \
1101 BFD_SEND (abfd, bfd_getx64, (ptr))
1102 #define bfd_get_signed_64(abfd, ptr) \
1103 BFD_SEND (abfd, bfd_getx_signed_64, (ptr))
1105 #define bfd_get(bits, abfd, ptr) \
1106 ((bits) == 8 ? (bfd_vma) bfd_get_8 (abfd, ptr) \
1107 : (bits) == 16 ? bfd_get_16 (abfd, ptr) \
1108 : (bits) == 32 ? bfd_get_32 (abfd, ptr) \
1109 : (bits) == 64 ? bfd_get_64 (abfd, ptr) \
1112 #define bfd_put(bits, abfd, val, ptr) \
1113 ((bits) == 8 ? bfd_put_8 (abfd, val, ptr) \
1114 : (bits) == 16 ? bfd_put_16 (abfd, val, ptr) \
1115 : (bits) == 32 ? bfd_put_32 (abfd, val, ptr) \
1116 : (bits) == 64 ? bfd_put_64 (abfd, val, ptr) \
1122 #define bfd_h_put_8(abfd, val, ptr) \
1123 bfd_put_8 (abfd, val, ptr)
1124 #define bfd_h_put_signed_8(abfd, val, ptr) \
1125 bfd_put_8 (abfd, val, ptr)
1126 #define bfd_h_get_8(abfd, ptr) \
1127 bfd_get_8 (abfd, ptr)
1128 #define bfd_h_get_signed_8(abfd, ptr) \
1129 bfd_get_signed_8 (abfd, ptr)
1131 #define bfd_h_put_16(abfd, val, ptr) \
1132 BFD_SEND (abfd, bfd_h_putx16, (val, ptr))
1135 #define bfd_h_get_16(abfd, ptr) \
1136 BFD_SEND (abfd, bfd_h_getx16, (ptr))
1137 #define bfd_h_get_signed_16(abfd, ptr) \
1138 BFD_SEND (abfd, bfd_h_getx_signed_16, (ptr))
1140 #define bfd_h_put_32(abfd, val, ptr) \
1141 BFD_SEND (abfd, bfd_h_putx32, (val, ptr))
1144 #define bfd_h_get_32(abfd, ptr) \
1145 BFD_SEND (abfd, bfd_h_getx32, (ptr))
1146 #define bfd_h_get_signed_32(abfd, ptr) \
1147 BFD_SEND (abfd, bfd_h_getx_signed_32, (ptr))
1149 #define bfd_h_put_64(abfd, val, ptr) \
1150 BFD_SEND (abfd, bfd_h_putx64, (val, ptr))
1153 #define bfd_h_get_64(abfd, ptr) \
1154 BFD_SEND (abfd, bfd_h_getx64, (ptr))
1155 #define bfd_h_get_signed_64(abfd, ptr) \
1156 BFD_SEND (abfd, bfd_h_getx_signed_64, (ptr))
1179 long bfd_get_mtime (bfd *abfd);
1181 file_ptr bfd_get_size (bfd *abfd);
1183 void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
1612 #define bfd_section_list_remove(ABFD, S) \
1621 (ABFD)->sections = _next; \
1625 (ABFD)->section_last = _prev; \
1628 #define bfd_section_list_append(ABFD, S) \
1632 bfd *_abfd = ABFD; \
1647 #define bfd_section_list_prepend(ABFD, S) \
1651 bfd *_abfd = ABFD; \
1666 #define bfd_section_list_insert_after(ABFD, A, S) \
1678 (ABFD)->section_last = _s; \
1681 #define bfd_section_list_insert_before(ABFD, B, S) \
1693 (ABFD)->sections = _s; \
1696 #define bfd_section_removed_from_list(ABFD, S) \
1697 ((S)->next == NULL ? (ABFD)->section_last != (S) : (S)->next->prev != (S))
1739 asection *bfd_get_section_by_name (bfd *abfd, const char *name);
1743 asection *bfd_get_linker_section (bfd *abfd, const char *name);
1746 (bfd *abfd,
1748 bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj),
1752 (bfd *abfd, const char *templat, int *count);
1754 asection *bfd_make_section_old_way (bfd *abfd, const char *name);
1757 (bfd *abfd, const char *name, flagword flags);
1759 asection *bfd_make_section_anyway (bfd *abfd, const char *name);
1767 (bfd *abfd, asection *sec, flagword flags);
1770 (bfd *abfd
1773 (bfd *abfd,
1774 void (*func) (bfd *abfd, asection *sect, void *obj),
1778 (bfd *abfd,
1779 bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
1783 (bfd *abfd, asection *sec, bfd_size_type val);
1786 (bfd *abfd, asection *section, const void *data,
1790 (bfd *abfd, asection *section, void *location, file_ptr offset,
1794 (bfd *abfd, asection *section, bfd_byte **buf);
1804 bfd_boolean bfd_generic_discard_group (bfd *abfd, asection *group);
2234 const char *bfd_printable_name (bfd *abfd);
2241 (const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);
2243 void bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg);
2245 enum bfd_architecture bfd_get_arch (bfd *abfd);
2247 unsigned long bfd_get_mach (bfd *abfd);
2249 unsigned int bfd_arch_bits_per_byte (bfd *abfd);
2251 unsigned int bfd_arch_bits_per_address (bfd *abfd);
2253 const bfd_arch_info_type *bfd_get_arch_info (bfd *abfd);
2261 unsigned int bfd_octets_per_byte (bfd *abfd);
2462 (bfd *abfd,
2470 (bfd *abfd,
5493 (bfd *abfd, bfd_reloc_code_real_type code);
5495 (bfd *abfd, const char *reloc_name);
5643 #define bfd_get_symtab_upper_bound(abfd) \
5644 BFD_SEND (abfd, _bfd_get_symtab_upper_bound, (abfd))
5646 bfd_boolean bfd_is_local_label (bfd *abfd, asymbol *sym);
5648 bfd_boolean bfd_is_local_label_name (bfd *abfd, const char *name);
5650 #define bfd_is_local_label_name(abfd, name) \
5651 BFD_SEND (abfd, _bfd_is_local_label_name, (abfd, name))
5653 bfd_boolean bfd_is_target_special_symbol (bfd *abfd, asymbol *sym);
5655 #define bfd_is_target_special_symbol(abfd, sym) \
5656 BFD_SEND (abfd, _bfd_is_target_special_symbol, (abfd, sym))
5658 #define bfd_canonicalize_symtab(abfd, location) \
5659 BFD_SEND (abfd, _bfd_canonicalize_symtab, (abfd, location))
5662 (bfd *abfd, asymbol **location, unsigned int count);
5664 void bfd_print_symbol_vandf (bfd *abfd, void *file, asymbol *symbol);
5666 #define bfd_make_empty_symbol(abfd) \
5667 BFD_SEND (abfd, _bfd_make_empty_symbol, (abfd))
5671 #define bfd_make_debug_symbol(abfd,ptr,size) \
5672 BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
6014 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect);
6017 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms);
6020 (bfd *abfd, asection *sec, arelent **rel, unsigned int count);
6022 bfd_boolean bfd_set_file_flags (bfd *abfd, flagword flags);
6024 int bfd_get_arch_size (bfd *abfd);
6026 int bfd_get_sign_extend_vma (bfd *abfd);
6028 bfd_boolean bfd_set_start_address (bfd *abfd, bfd_vma vma);
6030 unsigned int bfd_get_gp_size (bfd *abfd);
6032 void bfd_set_gp_size (bfd *abfd, unsigned int i);
6051 bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
6053 #define bfd_set_private_flags(abfd, flags) \
6054 BFD_SEND (abfd, _bfd_set_private_flags, (abfd, flags))
6055 #define bfd_sizeof_headers(abfd, info) \
6056 BFD_SEND (abfd, _bfd_sizeof_headers, (abfd, info))
6058 #define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \
6059 BFD_SEND (abfd, _bfd_find_nearest_line, \
6060 (abfd, sec, syms, off, file, func, line))
6062 #define bfd_find_nearest_line_discriminator(abfd, sec, syms, off, file, func, \
6064 BFD_SEND (abfd, _bfd_find_nearest_line_discriminator, \
6065 (abfd, sec, syms, off, file, func, line, disc))
6067 #define bfd_find_line(abfd, syms, sym, file, line) \
6068 BFD_SEND (abfd, _bfd_find_line, \
6069 (abfd, syms, sym, file, line))
6071 #define bfd_find_inliner_info(abfd, file, func, line) \
6072 BFD_SEND (abfd, _bfd_find_inliner_info, \
6073 (abfd, file, func, line))
6075 #define bfd_debug_info_start(abfd) \
6076 BFD_SEND (abfd, _bfd_debug_info_start, (abfd))
6078 #define bfd_debug_info_end(abfd) \
6079 BFD_SEND (abfd, _bfd_debug_info_end, (abfd))
6081 #define bfd_debug_info_accumulate(abfd, section) \
6082 BFD_SEND (abfd, _bfd_debug_info_accumulate, (abfd, section))
6084 #define bfd_stat_arch_elt(abfd, stat) \
6085 BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
6087 #define bfd_update_armap_timestamp(abfd) \
6088 BFD_SEND (abfd, _bfd_update_armap_timestamp, (abfd))
6090 #define bfd_set_arch_mach(abfd, arch, mach)\
6091 BFD_SEND ( abfd, _bfd_set_arch_mach, (abfd, arch, mach))
6093 #define bfd_relax_section(abfd, section, link_info, again) \
6094 BFD_SEND (abfd, _bfd_relax_section, (abfd, section, link_info, again))
6096 #define bfd_gc_sections(abfd, link_info) \
6097 BFD_SEND (abfd, _bfd_gc_sections, (abfd, link_info))
6100 BFD_SEND (abfd, _bfd_lookup_section_flags, (link_info, flag_info, section))
6102 #define bfd_merge_sections(abfd, link_info) \
6103 BFD_SEND (abfd, _bfd_merge_sections, (abfd, link_info))
6105 #define bfd_is_group_section(abfd, sec) \
6106 BFD_SEND (abfd, _bfd_is_group_section, (abfd, sec))
6108 #define bfd_discard_group(abfd, sec) \
6109 BFD_SEND (abfd, _bfd_discard_group, (abfd, sec))
6111 #define bfd_link_hash_table_create(abfd) \
6112 BFD_SEND (abfd, _bfd_link_hash_table_create, (abfd))
6114 #define bfd_link_hash_table_free(abfd, hash) \
6115 BFD_SEND (abfd, _bfd_link_hash_table_free, (hash))
6117 #define bfd_link_add_symbols(abfd, info) \
6118 BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
6120 #define bfd_link_just_syms(abfd, sec, info) \
6121 BFD_SEND (abfd, _bfd_link_just_syms, (sec, info))
6123 #define bfd_final_link(abfd, info) \
6124 BFD_SEND (abfd, _bfd_final_link, (abfd, info))
6126 #define bfd_free_cached_info(abfd) \
6127 BFD_SEND (abfd, _bfd_free_cached_info, (abfd))
6129 #define bfd_get_dynamic_symtab_upper_bound(abfd) \
6130 BFD_SEND (abfd, _bfd_get_dynamic_symtab_upper_bound, (abfd))
6132 #define bfd_print_private_bfd_data(abfd, file)\
6133 BFD_SEND (abfd, _bfd_print_private_bfd_data, (abfd, file))
6135 #define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
6136 BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
6138 #define bfd_get_synthetic_symtab(abfd, count, syms, dyncount, dynsyms, ret) \
6139 BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, count, syms, \
6142 #define bfd_get_dynamic_reloc_upper_bound(abfd) \
6143 BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))
6145 #define bfd_canonicalize_dynamic_reloc(abfd, arels, asyms) \
6146 BFD_SEND (abfd, _bfd_canonicalize_dynamic_reloc, (abfd, arels, asyms))
6152 bfd_boolean bfd_alt_mach_code (bfd *abfd, int alternative);
6184 (bfd *abfd, symindex previous, carsym **sym);
6191 const char *bfd_core_file_failing_command (bfd *abfd);
6193 int bfd_core_file_failing_signal (bfd *abfd);
6195 int bfd_core_file_pid (bfd *abfd);
6636 const bfd_target *bfd_find_target (const char *target_name, bfd *abfd);
6639 bfd *abfd,
6650 bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
6653 (bfd *abfd, bfd_format format, char ***matching);
6655 bfd_boolean bfd_set_format (bfd *abfd, bfd_format format);
6660 bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
6662 #define bfd_link_split_section(abfd, sec) \
6663 BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
6665 bfd_boolean bfd_section_already_linked (bfd *abfd,
6669 #define bfd_section_already_linked(abfd, sec, info) \
6670 BFD_SEND (abfd, _section_already_linked, (abfd, sec, info))
6688 (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
6692 (bfd *abfd, asection *section, bfd_byte *uncompressed_buffer,
6696 (bfd *abfd, asection *section, bfd_byte **ptr);
6699 (bfd *abfd, asection *section);
6702 (bfd *abfd, asection *section);
6705 (bfd *abfd, asection *section);