Lines Matching full:abfd
197 #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x)
259 bfd *abfd;
475 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \
477 ABFD)))
478 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \
480 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
482 #define bfd_read(BUF, ELTSIZE, NITEMS, ABFD) \
484 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
485 #define bfd_write(BUF, ELTSIZE, NITEMS, ABFD) \
487 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
493 #define bfd_get_filename(abfd) ((char *) (abfd)->filename)
494 #define bfd_get_cacheable(abfd) ((abfd)->cacheable)
495 #define bfd_get_format(abfd) ((abfd)->format)
496 #define bfd_get_target(abfd) ((abfd)->xvec->name)
497 #define bfd_get_flavour(abfd) ((abfd)->xvec->flavour)
498 #define bfd_family_coff(abfd) \
499 (bfd_get_flavour (abfd) == bfd_target_coff_flavour || \
500 bfd_get_flavour (abfd) == bfd_target_xcoff_flavour)
501 #define bfd_big_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_BIG)
502 #define bfd_little_endian(abfd) ((abfd)->xvec->byteorder == BFD_ENDIAN_LITTLE)
503 #define bfd_header_big_endian(abfd) \
504 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_BIG)
505 #define bfd_header_little_endian(abfd) \
506 ((abfd)->xvec->header_byteorder == BFD_ENDIAN_LITTLE)
507 #define bfd_get_file_flags(abfd) ((abfd)->flags)
508 #define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
509 #define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
510 #define bfd_my_archive(abfd) ((abfd)->my_archive)
511 #define bfd_has_map(abfd) ((abfd)->has_armap)
512 #define bfd_is_thin_archive(abfd) ((abfd)->is_thin_archive)
514 #define bfd_valid_reloc_types(abfd) ((abfd)->xvec->valid_reloc_types)
515 #define bfd_usrdata(abfd) ((abfd)->usrdata)
517 #define bfd_get_start_address(abfd) ((abfd)->start_address)
518 #define bfd_get_symcount(abfd) ((abfd)->symcount)
519 #define bfd_get_outsymbols(abfd) ((abfd)->outsymbols)
520 #define bfd_count_sections(abfd) ((abfd)->section_count)
522 #define bfd_get_dynamic_symcount(abfd) ((abfd)->dynsymcount)
524 #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
526 #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
529 (bfd *abfd);
580 (bfd * abfd);
582 (bfd *abfd, bfd_vma gp_value);
584 (bfd *abfd, unsigned long gprmask, unsigned long fprmask,
602 (bfd *abfd, struct ecoff_debug_info *debug,
607 (bfd *abfd, struct ecoff_debug_info *debug,
611 (bfd *abfd, struct ecoff_debug_info *debug,
614 (bfd *abfd, struct ecoff_debug_info *debug,
617 (void *handle, bfd *abfd, struct ecoff_debug_info *debug,
673 copy of ABFD's program header table entries. Return -1 if an error
676 (bfd *abfd);
678 /* Copy ABFD's program header table entries to *PHDRS. The entries
686 (bfd *abfd, void *phdrs);
995 int (*stat_func) (struct bfd *abfd,
1001 bfd_boolean bfd_close (bfd *abfd);
1007 bfd_boolean bfd_make_writable (bfd *abfd);
1009 bfd_boolean bfd_make_readable (bfd *abfd);
1011 void *bfd_alloc (bfd *abfd, bfd_size_type wanted);
1013 void *bfd_zalloc (bfd *abfd, bfd_size_type wanted);
1018 char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
1021 (bfd *abfd, const char *filename);
1024 (bfd *abfd, struct bfd_section *sect, const char *filename);
1030 #define bfd_put_8(abfd, val, ptr) \
1034 #define bfd_get_8(abfd, ptr) \
1036 #define bfd_get_signed_8(abfd, ptr) \
1039 #define bfd_put_16(abfd, val, ptr) \
1040 BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
1043 #define bfd_get_16(abfd, ptr) \
1044 BFD_SEND (abfd, bfd_getx16, (ptr))
1045 #define bfd_get_signed_16(abfd, ptr) \
1046 BFD_SEND (abfd, bfd_getx_signed_16, (ptr))
1048 #define bfd_put_32(abfd, val, ptr) \
1049 BFD_SEND (abfd, bfd_putx32, ((val),(ptr)))
1052 #define bfd_get_32(abfd, ptr) \
1053 BFD_SEND (abfd, bfd_getx32, (ptr))
1054 #define bfd_get_signed_32(abfd, ptr) \
1055 BFD_SEND (abfd, bfd_getx_signed_32, (ptr))
1057 #define bfd_put_64(abfd, val, ptr) \
1058 BFD_SEND (abfd, bfd_putx64, ((val), (ptr)))
1061 #define bfd_get_64(abfd, ptr) \
1062 BFD_SEND (abfd, bfd_getx64, (ptr))
1063 #define bfd_get_signed_64(abfd, ptr) \
1064 BFD_SEND (abfd, bfd_getx_signed_64, (ptr))
1066 #define bfd_get(bits, abfd, ptr) \
1067 ((bits) == 8 ? (bfd_vma) bfd_get_8 (abfd, ptr) \
1068 : (bits) == 16 ? bfd_get_16 (abfd, ptr) \
1069 : (bits) == 32 ? bfd_get_32 (abfd, ptr) \
1070 : (bits) == 64 ? bfd_get_64 (abfd, ptr) \
1073 #define bfd_put(bits, abfd, val, ptr) \
1074 ((bits) == 8 ? bfd_put_8 (abfd, val, ptr) \
1075 : (bits) == 16 ? bfd_put_16 (abfd, val, ptr) \
1076 : (bits) == 32 ? bfd_put_32 (abfd, val, ptr) \
1077 : (bits) == 64 ? bfd_put_64 (abfd, val, ptr) \
1083 #define bfd_h_put_8(abfd, val, ptr) \
1084 bfd_put_8 (abfd, val, ptr)
1085 #define bfd_h_put_signed_8(abfd, val, ptr) \
1086 bfd_put_8 (abfd, val, ptr)
1087 #define bfd_h_get_8(abfd, ptr) \
1088 bfd_get_8 (abfd, ptr)
1089 #define bfd_h_get_signed_8(abfd, ptr) \
1090 bfd_get_signed_8 (abfd, ptr)
1092 #define bfd_h_put_16(abfd, val, ptr) \
1093 BFD_SEND (abfd, bfd_h_putx16, (val, ptr))
1096 #define bfd_h_get_16(abfd, ptr) \
1097 BFD_SEND (abfd, bfd_h_getx16, (ptr))
1098 #define bfd_h_get_signed_16(abfd, ptr) \
1099 BFD_SEND (abfd, bfd_h_getx_signed_16, (ptr))
1101 #define bfd_h_put_32(abfd, val, ptr) \
1102 BFD_SEND (abfd, bfd_h_putx32, (val, ptr))
1105 #define bfd_h_get_32(abfd, ptr) \
1106 BFD_SEND (abfd, bfd_h_getx32, (ptr))
1107 #define bfd_h_get_signed_32(abfd, ptr) \
1108 BFD_SEND (abfd, bfd_h_getx_signed_32, (ptr))
1110 #define bfd_h_put_64(abfd, val, ptr) \
1111 BFD_SEND (abfd, bfd_h_putx64, (val, ptr))
1114 #define bfd_h_get_64(abfd, ptr) \
1115 BFD_SEND (abfd, bfd_h_getx64, (ptr))
1116 #define bfd_h_get_signed_64(abfd, ptr) \
1117 BFD_SEND (abfd, bfd_h_getx_signed_64, (ptr))
1140 long bfd_get_mtime (bfd *abfd);
1142 file_ptr bfd_get_size (bfd *abfd);
1144 void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
1570 #define bfd_section_list_remove(ABFD, S) \
1579 (ABFD)->sections = _next; \
1583 (ABFD)->section_last = _prev; \
1586 #define bfd_section_list_append(ABFD, S) \
1590 bfd *_abfd = ABFD; \
1605 #define bfd_section_list_prepend(ABFD, S) \
1609 bfd *_abfd = ABFD; \
1624 #define bfd_section_list_insert_after(ABFD, A, S) \
1636 (ABFD)->section_last = _s; \
1639 #define bfd_section_list_insert_before(ABFD, B, S) \
1651 (ABFD)->sections = _s; \
1654 #define bfd_section_removed_from_list(ABFD, S) \
1655 ((S)->next == NULL ? (ABFD)->section_last != (S) : (S)->next->prev != (S))
1697 asection *bfd_get_section_by_name (bfd *abfd, const char *name);
1700 (bfd *abfd,
1702 bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj),
1706 (bfd *abfd, const char *templat, int *count);
1708 asection *bfd_make_section_old_way (bfd *abfd, const char *name);
1711 (bfd *abfd, const char *name, flagword flags);
1713 asection *bfd_make_section_anyway (bfd *abfd, const char *name);
1721 (bfd *abfd, asection *sec, flagword flags);
1724 (bfd *abfd,
1725 void (*func) (bfd *abfd, asection *sect, void *obj),
1729 (bfd *abfd,
1730 bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
1734 (bfd *abfd, asection *sec, bfd_size_type val);
1737 (bfd *abfd, asection *section, const void *data,
1741 (bfd *abfd, asection *section, void *location, file_ptr offset,
1745 (bfd *abfd, asection *section, bfd_byte **buf);
1755 bfd_boolean bfd_generic_discard_group (bfd *abfd, asection *group);
2143 const char *bfd_printable_name (bfd *abfd);
2150 (const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);
2152 void bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg);
2154 enum bfd_architecture bfd_get_arch (bfd *abfd);
2156 unsigned long bfd_get_mach (bfd *abfd);
2158 unsigned int bfd_arch_bits_per_byte (bfd *abfd);
2160 unsigned int bfd_arch_bits_per_address (bfd *abfd);
2162 const bfd_arch_info_type *bfd_get_arch_info (bfd *abfd);
2170 unsigned int bfd_octets_per_byte (bfd *abfd);
2371 (bfd *abfd,
2379 (bfd *abfd,
4770 (bfd *abfd, bfd_reloc_code_real_type code);
4772 (bfd *abfd, const char *reloc_name);
4920 #define bfd_get_symtab_upper_bound(abfd) \
4921 BFD_SEND (abfd, _bfd_get_symtab_upper_bound, (abfd))
4923 bfd_boolean bfd_is_local_label (bfd *abfd, asymbol *sym);
4925 bfd_boolean bfd_is_local_label_name (bfd *abfd, const char *name);
4927 #define bfd_is_local_label_name(abfd, name) \
4928 BFD_SEND (abfd, _bfd_is_local_label_name, (abfd, name))
4930 bfd_boolean bfd_is_target_special_symbol (bfd *abfd, asymbol *sym);
4932 #define bfd_is_target_special_symbol(abfd, sym) \
4933 BFD_SEND (abfd, _bfd_is_target_special_symbol, (abfd, sym))
4935 #define bfd_canonicalize_symtab(abfd, location) \
4936 BFD_SEND (abfd, _bfd_canonicalize_symtab, (abfd, location))
4939 (bfd *abfd, asymbol **location, unsigned int count);
4941 void bfd_print_symbol_vandf (bfd *abfd, void *file, asymbol *symbol);
4943 #define bfd_make_empty_symbol(abfd) \
4944 BFD_SEND (abfd, _bfd_make_empty_symbol, (abfd))
4948 #define bfd_make_debug_symbol(abfd,ptr,size) \
4949 BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
5279 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect);
5282 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms);
5285 (bfd *abfd, asection *sec, arelent **rel, unsigned int count);
5287 bfd_boolean bfd_set_file_flags (bfd *abfd, flagword flags);
5289 int bfd_get_arch_size (bfd *abfd);
5291 int bfd_get_sign_extend_vma (bfd *abfd);
5293 bfd_boolean bfd_set_start_address (bfd *abfd, bfd_vma vma);
5295 unsigned int bfd_get_gp_size (bfd *abfd);
5297 void bfd_set_gp_size (bfd *abfd, unsigned int i);
5316 bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
5318 #define bfd_set_private_flags(abfd, flags) \
5319 BFD_SEND (abfd, _bfd_set_private_flags, (abfd, flags))
5320 #define bfd_sizeof_headers(abfd, info) \
5321 BFD_SEND (abfd, _bfd_sizeof_headers, (abfd, info))
5323 #define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \
5324 BFD_SEND (abfd, _bfd_find_nearest_line, \
5325 (abfd, sec, syms, off, file, func, line))
5327 #define bfd_find_line(abfd, syms, sym, file, line) \
5328 BFD_SEND (abfd, _bfd_find_line, \
5329 (abfd, syms, sym, file, line))
5331 #define bfd_find_inliner_info(abfd, file, func, line) \
5332 BFD_SEND (abfd, _bfd_find_inliner_info, \
5333 (abfd, file, func, line))
5335 #define bfd_debug_info_start(abfd) \
5336 BFD_SEND (abfd, _bfd_debug_info_start, (abfd))
5338 #define bfd_debug_info_end(abfd) \
5339 BFD_SEND (abfd, _bfd_debug_info_end, (abfd))
5341 #define bfd_debug_info_accumulate(abfd, section) \
5342 BFD_SEND (abfd, _bfd_debug_info_accumulate, (abfd, section))
5344 #define bfd_stat_arch_elt(abfd, stat) \
5345 BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
5347 #define bfd_update_armap_timestamp(abfd) \
5348 BFD_SEND (abfd, _bfd_update_armap_timestamp, (abfd))
5350 #define bfd_set_arch_mach(abfd, arch, mach)\
5351 BFD_SEND ( abfd, _bfd_set_arch_mach, (abfd, arch, mach))
5353 #define bfd_relax_section(abfd, section, link_info, again) \
5354 BFD_SEND (abfd, _bfd_relax_section, (abfd, section, link_info, again))
5356 #define bfd_gc_sections(abfd, link_info) \
5357 BFD_SEND (abfd, _bfd_gc_sections, (abfd, link_info))
5359 #define bfd_merge_sections(abfd, link_info) \
5360 BFD_SEND (abfd, _bfd_merge_sections, (abfd, link_info))
5362 #define bfd_is_group_section(abfd, sec) \
5363 BFD_SEND (abfd, _bfd_is_group_section, (abfd, sec))
5365 #define bfd_discard_group(abfd, sec) \
5366 BFD_SEND (abfd, _bfd_discard_group, (abfd, sec))
5368 #define bfd_link_hash_table_create(abfd) \
5369 BFD_SEND (abfd, _bfd_link_hash_table_create, (abfd))
5371 #define bfd_link_hash_table_free(abfd, hash) \
5372 BFD_SEND (abfd, _bfd_link_hash_table_free, (hash))
5374 #define bfd_link_add_symbols(abfd, info) \
5375 BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
5377 #define bfd_link_just_syms(abfd, sec, info) \
5378 BFD_SEND (abfd, _bfd_link_just_syms, (sec, info))
5380 #define bfd_final_link(abfd, info) \
5381 BFD_SEND (abfd, _bfd_final_link, (abfd, info))
5383 #define bfd_free_cached_info(abfd) \
5384 BFD_SEND (abfd, _bfd_free_cached_info, (abfd))
5386 #define bfd_get_dynamic_symtab_upper_bound(abfd) \
5387 BFD_SEND (abfd, _bfd_get_dynamic_symtab_upper_bound, (abfd))
5389 #define bfd_print_private_bfd_data(abfd, file)\
5390 BFD_SEND (abfd, _bfd_print_private_bfd_data, (abfd, file))
5392 #define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
5393 BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
5395 #define bfd_get_synthetic_symtab(abfd, count, syms, dyncount, dynsyms, ret) \
5396 BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, count, syms, \
5399 #define bfd_get_dynamic_reloc_upper_bound(abfd) \
5400 BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))
5402 #define bfd_canonicalize_dynamic_reloc(abfd, arels, asyms) \
5403 BFD_SEND (abfd, _bfd_canonicalize_dynamic_reloc, (abfd, arels, asyms))
5409 bfd_boolean bfd_alt_mach_code (bfd *abfd, int alternative);
5441 (bfd *abfd, symindex previous, carsym **sym);
5448 const char *bfd_core_file_failing_command (bfd *abfd);
5450 int bfd_core_file_failing_signal (bfd *abfd);
5452 int bfd_core_file_pid (bfd *abfd);
5876 const bfd_target *bfd_find_target (const char *target_name, bfd *abfd);
5879 bfd *abfd,
5890 bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
5893 (bfd *abfd, bfd_format format, char ***matching);
5895 abfd, bfd_format format);
5900 bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
5902 #define bfd_link_split_section(abfd, sec) \
5903 BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
5905 void bfd_section_already_linked (bfd *abfd, asection *sec,
5908 #define bfd_section_already_linked(abfd, sec, info) \
5909 BFD_SEND (abfd, _section_already_linked, (abfd, sec, info))
5924 (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
5928 (bfd *abfd, asection *section, bfd_byte *uncompressed_buffer,
5932 (bfd *abfd, asection *section, bfd_byte **ptr);
5935 (bfd *abfd, asection *section);
5938 (bfd *abfd, asection *section);
5941 (bfd *abfd, asection *section);