Lines Matching refs:abfd

172 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
291 bfd *abfd;
506 #define bfd_get_filename(abfd) ((char *) (abfd)->filename)
507 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
508 #define bfd_get_format(abfd) ((abfd)->format)
509 #define bfd_get_target(abfd) ((abfd)->xvec->name)
510 #define bfd_get_flavour(abfd) ((abfd)->xvec->flavour)
511 #define bfd_family_coff(abfd) \
512 (bfd_get_flavour (abfd) == bfd_target_coff_flavour || \
513 bfd_get_flavour (abfd) == bfd_target_xcoff_flavour)
514 #define bfd_big_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_BIG)
515 #define bfd_little_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_LITTLE)
516 #define bfd_header_big_endian(abfd) \
517 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_BIG)
518 #define bfd_header_little_endian(abfd) \
519 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_LITTLE)
520 #define bfd_get_file_flags(abfd) ((abfd)->flags)
521 #define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
522 #define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
523 #define bfd_my_archive(abfd) ((abfd)->my_archive)
524 #define bfd_has_map(abfd) ((abfd)->has_armap)
526 #define bfd_valid_reloc_types(abfd) ((abfd)->xvec->valid_reloc_types)
527 #define bfd_usrdata(abfd) ((abfd)->usrdata)
529 #define bfd_get_start_address(abfd) ((abfd)->start_address)
530 #define bfd_get_symcount(abfd) ((abfd)->symcount)
531 #define bfd_get_outsymbols(abfd) ((abfd)->outsymbols)
532 #define bfd_count_sections(abfd) ((abfd)->section_count)
534 #define bfd_get_dynamic_symcount(abfd) ((abfd)->dynsymcount)
536 #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
538 #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
541 (bfd *abfd);
592 (bfd * abfd);
594 (bfd *abfd, bfd_vma gp_value);
596 (bfd *abfd, unsigned long gprmask, unsigned long fprmask,
614 (bfd *abfd, struct ecoff_debug_info *debug,
619 (bfd *abfd, struct ecoff_debug_info *debug,
623 (bfd *abfd, struct ecoff_debug_info *debug,
626 (bfd *abfd, struct ecoff_debug_info *debug,
629 (void *handle, bfd *abfd, struct ecoff_debug_info *debug,
676 (bfd *abfd);
686 (bfd *abfd, void *phdrs);
914 bfd_boolean bfd_close (bfd *abfd);
920 bfd_boolean bfd_make_writable (bfd *abfd);
922 bfd_boolean bfd_make_readable (bfd *abfd);
927 char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
930 (bfd *abfd, const char *filename);
933 (bfd *abfd, struct bfd_section *sect, const char *filename);
939 #define bfd_put_8(abfd, val, ptr) \
943 #define bfd_get_8(abfd, ptr) \
945 #define bfd_get_signed_8(abfd, ptr) \
948 #define bfd_put_16(abfd, val, ptr) \
949 BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
952 #define bfd_get_16(abfd, ptr) \
953 BFD_SEND (abfd, bfd_getx16, (ptr))
954 #define bfd_get_signed_16(abfd, ptr) \
955 BFD_SEND (abfd, bfd_getx_signed_16, (ptr))
957 #define bfd_put_32(abfd, val, ptr) \
958 BFD_SEND (abfd, bfd_putx32, ((val),(ptr)))
961 #define bfd_get_32(abfd, ptr) \
962 BFD_SEND (abfd, bfd_getx32, (ptr))
963 #define bfd_get_signed_32(abfd, ptr) \
964 BFD_SEND (abfd, bfd_getx_signed_32, (ptr))
966 #define bfd_put_64(abfd, val, ptr) \
967 BFD_SEND (abfd, bfd_putx64, ((val), (ptr)))
970 #define bfd_get_64(abfd, ptr) \
971 BFD_SEND (abfd, bfd_getx64, (ptr))
972 #define bfd_get_signed_64(abfd, ptr) \
973 BFD_SEND (abfd, bfd_getx_signed_64, (ptr))
975 #define bfd_get(bits, abfd, ptr) \
976 ((bits) == 8 ? (bfd_vma) bfd_get_8 (abfd, ptr) \
977 : (bits) == 16 ? bfd_get_16 (abfd, ptr) \
978 : (bits) == 32 ? bfd_get_32 (abfd, ptr) \
979 : (bits) == 64 ? bfd_get_64 (abfd, ptr) \
982 #define bfd_put(bits, abfd, val, ptr) \
983 ((bits) == 8 ? bfd_put_8 (abfd, val, ptr) \
984 : (bits) == 16 ? bfd_put_16 (abfd, val, ptr) \
985 : (bits) == 32 ? bfd_put_32 (abfd, val, ptr) \
986 : (bits) == 64 ? bfd_put_64 (abfd, val, ptr) \
992 #define bfd_h_put_8(abfd, val, ptr) \
993 bfd_put_8 (abfd, val, ptr)
994 #define bfd_h_put_signed_8(abfd, val, ptr) \
995 bfd_put_8 (abfd, val, ptr)
996 #define bfd_h_get_8(abfd, ptr) \
997 bfd_get_8 (abfd, ptr)
998 #define bfd_h_get_signed_8(abfd, ptr) \
999 bfd_get_signed_8 (abfd, ptr)
1001 #define bfd_h_put_16(abfd, val, ptr) \
1002 BFD_SEND (abfd, bfd_h_putx16, (val, ptr))
1005 #define bfd_h_get_16(abfd, ptr) \
1006 BFD_SEND (abfd, bfd_h_getx16, (ptr))
1007 #define bfd_h_get_signed_16(abfd, ptr) \
1008 BFD_SEND (abfd, bfd_h_getx_signed_16, (ptr))
1010 #define bfd_h_put_32(abfd, val, ptr) \
1011 BFD_SEND (abfd, bfd_h_putx32, (val, ptr))
1014 #define bfd_h_get_32(abfd, ptr) \
1015 BFD_SEND (abfd, bfd_h_getx32, (ptr))
1016 #define bfd_h_get_signed_32(abfd, ptr) \
1017 BFD_SEND (abfd, bfd_h_getx_signed_32, (ptr))
1019 #define bfd_h_put_64(abfd, val, ptr) \
1020 BFD_SEND (abfd, bfd_h_putx64, (val, ptr))
1023 #define bfd_h_get_64(abfd, ptr) \
1024 BFD_SEND (abfd, bfd_h_getx64, (ptr))
1025 #define bfd_h_get_signed_64(abfd, ptr) \
1026 BFD_SEND (abfd, bfd_h_getx_signed_64, (ptr))
1049 long bfd_get_mtime (bfd *abfd);
1051 long bfd_get_size (bfd *abfd);
1470 asection *bfd_get_section_by_name (bfd *abfd, const char *name);
1473 (bfd *abfd,
1475 bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj),
1479 (bfd *abfd, const char *templat, int *count);
1481 asection *bfd_make_section_old_way (bfd *abfd, const char *name);
1483 asection *bfd_make_section_anyway (bfd *abfd, const char *name);
1488 (bfd *abfd, asection *sec, flagword flags);
1491 (bfd *abfd,
1492 void (*func) (bfd *abfd, asection *sect, void *obj),
1496 (bfd *abfd,
1497 bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
1501 (bfd *abfd, asection *sec, bfd_size_type val);
1504 (bfd *abfd, asection *section, const void *data,
1508 (bfd *abfd, asection *section, void *location, file_ptr offset,
1512 (bfd *abfd, asection *section, bfd_byte **buf);
1525 bfd_boolean bfd_generic_discard_group (bfd *abfd, asection *group);
1834 const char *bfd_printable_name (bfd *abfd);
1841 (const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);
1843 void bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg);
1845 enum bfd_architecture bfd_get_arch (bfd *abfd);
1847 unsigned long bfd_get_mach (bfd *abfd);
1849 unsigned int bfd_arch_bits_per_byte (bfd *abfd);
1851 unsigned int bfd_arch_bits_per_address (bfd *abfd);
1853 const bfd_arch_info_type *bfd_get_arch_info (bfd *abfd);
1861 unsigned int bfd_octets_per_byte (bfd *abfd);
2064 (bfd *abfd,
2072 (bfd *abfd,
3698 (bfd *abfd, bfd_reloc_code_real_type code);
3828 #define bfd_get_symtab_upper_bound(abfd) \
3829 BFD_SEND (abfd, _bfd_get_symtab_upper_bound, (abfd))
3831 bfd_boolean bfd_is_local_label (bfd *abfd, asymbol *sym);
3833 bfd_boolean bfd_is_local_label_name (bfd *abfd, const char *name);
3835 #define bfd_is_local_label_name(abfd, name) \
3836 BFD_SEND (abfd, _bfd_is_local_label_name, (abfd, name))
3838 bfd_boolean bfd_is_target_special_symbol (bfd *abfd, asymbol *sym);
3840 #define bfd_is_target_special_symbol(abfd, sym) \
3841 BFD_SEND (abfd, _bfd_is_target_special_symbol, (abfd, sym))
3843 #define bfd_canonicalize_symtab(abfd, location) \
3844 BFD_SEND (abfd, _bfd_canonicalize_symtab, (abfd, location))
3847 (bfd *abfd, asymbol **location, unsigned int count);
3849 void bfd_print_symbol_vandf (bfd *abfd, void *file, asymbol *symbol);
3851 #define bfd_make_empty_symbol(abfd) \
3852 BFD_SEND (abfd, _bfd_make_empty_symbol, (abfd))
3856 #define bfd_make_debug_symbol(abfd,ptr,size) \
3857 BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
4080 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect);
4083 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms);
4086 (bfd *abfd, asection *sec, arelent **rel, unsigned int count);
4088 bfd_boolean bfd_set_file_flags (bfd *abfd, flagword flags);
4090 int bfd_get_arch_size (bfd *abfd);
4092 int bfd_get_sign_extend_vma (bfd *abfd);
4094 bfd_boolean bfd_set_start_address (bfd *abfd, bfd_vma vma);
4096 unsigned int bfd_get_gp_size (bfd *abfd);
4098 void bfd_set_gp_size (bfd *abfd, unsigned int i);
4117 bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
4119 #define bfd_set_private_flags(abfd, flags) \
4120 BFD_SEND (abfd, _bfd_set_private_flags, (abfd, flags))
4121 #define bfd_sizeof_headers(abfd, reloc) \
4122 BFD_SEND (abfd, _bfd_sizeof_headers, (abfd, reloc))
4124 #define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \
4125 BFD_SEND (abfd, _bfd_find_nearest_line, \
4126 (abfd, sec, syms, off, file, func, line))
4128 #define bfd_debug_info_start(abfd) \
4129 BFD_SEND (abfd, _bfd_debug_info_start, (abfd))
4131 #define bfd_debug_info_end(abfd) \
4132 BFD_SEND (abfd, _bfd_debug_info_end, (abfd))
4134 #define bfd_debug_info_accumulate(abfd, section) \
4135 BFD_SEND (abfd, _bfd_debug_info_accumulate, (abfd, section))
4137 #define bfd_stat_arch_elt(abfd, stat) \
4138 BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
4140 #define bfd_update_armap_timestamp(abfd) \
4141 BFD_SEND (abfd, _bfd_update_armap_timestamp, (abfd))
4143 #define bfd_set_arch_mach(abfd, arch, mach)\
4144 BFD_SEND ( abfd, _bfd_set_arch_mach, (abfd, arch, mach))
4146 #define bfd_relax_section(abfd, section, link_info, again) \
4147 BFD_SEND (abfd, _bfd_relax_section, (abfd, section, link_info, again))
4149 #define bfd_gc_sections(abfd, link_info) \
4150 BFD_SEND (abfd, _bfd_gc_sections, (abfd, link_info))
4152 #define bfd_merge_sections(abfd, link_info) \
4153 BFD_SEND (abfd, _bfd_merge_sections, (abfd, link_info))
4155 #define bfd_is_group_section(abfd, sec) \
4156 BFD_SEND (abfd, _bfd_is_group_section, (abfd, sec))
4158 #define bfd_discard_group(abfd, sec) \
4159 BFD_SEND (abfd, _bfd_discard_group, (abfd, sec))
4161 #define bfd_link_hash_table_create(abfd) \
4162 BFD_SEND (abfd, _bfd_link_hash_table_create, (abfd))
4164 #define bfd_link_hash_table_free(abfd, hash) \
4165 BFD_SEND (abfd, _bfd_link_hash_table_free, (hash))
4167 #define bfd_link_add_symbols(abfd, info) \
4168 BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
4171 BFD_SEND (abfd, _bfd_link_just_syms, (sec, info))
4173 #define bfd_final_link(abfd, info) \
4174 BFD_SEND (abfd, _bfd_final_link, (abfd, info))
4176 #define bfd_free_cached_info(abfd) \
4177 BFD_SEND (abfd, _bfd_free_cached_info, (abfd))
4179 #define bfd_get_dynamic_symtab_upper_bound(abfd) \
4180 BFD_SEND (abfd, _bfd_get_dynamic_symtab_upper_bound, (abfd))
4182 #define bfd_print_private_bfd_data(abfd, file)\
4183 BFD_SEND (abfd, _bfd_print_private_bfd_data, (abfd, file))
4185 #define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
4186 BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
4188 #define bfd_get_synthetic_symtab(abfd, count, syms, dyncount, dynsyms, ret) \
4189 BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, count, syms, \
4192 #define bfd_get_dynamic_reloc_upper_bound(abfd) \
4193 BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))
4195 #define bfd_canonicalize_dynamic_reloc(abfd, arels, asyms) \
4196 BFD_SEND (abfd, _bfd_canonicalize_dynamic_reloc, (abfd, arels, asyms))
4202 bfd_boolean bfd_alt_mach_code (bfd *abfd, int alternative);
4224 (bfd *abfd, symindex previous, carsym **sym);
4231 const char *bfd_core_file_failing_command (bfd *abfd);
4233 int bfd_core_file_failing_signal (bfd *abfd);
4618 const bfd_target *bfd_find_target (const char *target_name, bfd *abfd);
4627 bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
4630 (bfd *abfd, bfd_format format, char ***matching);
4632 bfd_boolean bfd_set_format (bfd *abfd, bfd_format format);
4637 bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
4639 #define bfd_link_split_section(abfd, sec) \
4640 BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
4642 void bfd_section_already_linked (bfd *abfd, asection *sec);
4644 #define bfd_section_already_linked(abfd, sec) \
4645 BFD_SEND (abfd, _section_already_linked, (abfd, sec))
4649 (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);