Lines Matching full:abfd
112 within code `abfd'. All operations on the target object file are
119 `abfd'.
123 unsigned int number_of_sections (abfd)
124 bfd *abfd;
126 return bfd_count_sections (abfd);
721 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect);
724 associated with section SECT attached to bfd ABFD. If an error occurs,
732 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms);
734 Call the back end associated with the open BFD ABFD and translate the
747 (bfd *abfd, asection *sec, arelent **rel, unsigned int count);
750 REL and COUNT. The argument ABFD is ignored.
756 bfd_boolean bfd_set_file_flags (bfd *abfd, flagword flags);
758 Set the flag word in the BFD ABFD to the value FLAGS.
775 int bfd_get_arch_size (bfd *abfd);
788 int bfd_get_sign_extend_vma (bfd *abfd);
805 bfd_boolean bfd_set_start_address (bfd *abfd, bfd_vma vma);
807 Make VMA the entry point of output BFD ABFD.
816 unsigned int bfd_get_gp_size (bfd *abfd);
826 void bfd_set_gp_size (bfd *abfd, unsigned int i);
903 bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
905 Set private BFD flag information in the BFD ABFD. Return `TRUE' on
911 #define bfd_set_private_flags(abfd, flags) \
912 BFD_SEND (abfd, _bfd_set_private_flags, (abfd, flags))
919 #define bfd_sizeof_headers(abfd, info) \
920 BFD_SEND (abfd, _bfd_sizeof_headers, (abfd, info))
922 #define bfd_find_nearest_line(abfd, sec, syms, off, file, func, line) \
923 BFD_SEND (abfd, _bfd_find_nearest_line, \
924 (abfd, sec, syms, off, file, func, line))
926 #define bfd_find_line(abfd, syms, sym, file, line) \
927 BFD_SEND (abfd, _bfd_find_line, \
928 (abfd, syms, sym, file, line))
930 #define bfd_find_inliner_info(abfd, file, func, line) \
931 BFD_SEND (abfd, _bfd_find_inliner_info, \
932 (abfd, file, func, line))
934 #define bfd_debug_info_start(abfd) \
935 BFD_SEND (abfd, _bfd_debug_info_start, (abfd))
937 #define bfd_debug_info_end(abfd) \
938 BFD_SEND (abfd, _bfd_debug_info_end, (abfd))
940 #define bfd_debug_info_accumulate(abfd, section) \
941 BFD_SEND (abfd, _bfd_debug_info_accumulate, (abfd, section))
943 #define bfd_stat_arch_elt(abfd, stat) \
944 BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
946 #define bfd_update_armap_timestamp(abfd) \
947 BFD_SEND (abfd, _bfd_update_armap_timestamp, (abfd))
949 #define bfd_set_arch_mach(abfd, arch, mach)\
950 BFD_SEND ( abfd, _bfd_set_arch_mach, (abfd, arch, mach))
952 #define bfd_relax_section(abfd, section, link_info, again) \
953 BFD_SEND (abfd, _bfd_relax_section, (abfd, section, link_info, again))
955 #define bfd_gc_sections(abfd, link_info) \
956 BFD_SEND (abfd, _bfd_gc_sections, (abfd, link_info))
958 #define bfd_merge_sections(abfd, link_info) \
959 BFD_SEND (abfd, _bfd_merge_sections, (abfd, link_info))
961 #define bfd_is_group_section(abfd, sec) \
962 BFD_SEND (abfd, _bfd_is_group_section, (abfd, sec))
964 #define bfd_discard_group(abfd, sec) \
965 BFD_SEND (abfd, _bfd_discard_group, (abfd, sec))
967 #define bfd_link_hash_table_create(abfd) \
968 BFD_SEND (abfd, _bfd_link_hash_table_create, (abfd))
970 #define bfd_link_hash_table_free(abfd, hash) \
971 BFD_SEND (abfd, _bfd_link_hash_table_free, (hash))
973 #define bfd_link_add_symbols(abfd, info) \
974 BFD_SEND (abfd, _bfd_link_add_symbols, (abfd, info))
976 #define bfd_link_just_syms(abfd, sec, info) \
977 BFD_SEND (abfd, _bfd_link_just_syms, (sec, info))
979 #define bfd_final_link(abfd, info) \
980 BFD_SEND (abfd, _bfd_final_link, (abfd, info))
982 #define bfd_free_cached_info(abfd) \
983 BFD_SEND (abfd, _bfd_free_cached_info, (abfd))
985 #define bfd_get_dynamic_symtab_upper_bound(abfd) \
986 BFD_SEND (abfd, _bfd_get_dynamic_symtab_upper_bound, (abfd))
988 #define bfd_print_private_bfd_data(abfd, file)\
989 BFD_SEND (abfd, _bfd_print_private_bfd_data, (abfd, file))
991 #define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
992 BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
994 #define bfd_get_synthetic_symtab(abfd, count, syms, dyncount, dynsyms, ret) \
995 BFD_SEND (abfd, _bfd_get_synthetic_symtab, (abfd, count, syms, \
998 #define bfd_get_dynamic_reloc_upper_bound(abfd) \
999 BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))
1001 #define bfd_canonicalize_dynamic_reloc(abfd, arels, asyms) \
1002 BFD_SEND (abfd, _bfd_canonicalize_dynamic_reloc, (abfd, arels, asyms))
1012 bfd_boolean bfd_alt_mach_code (bfd *abfd, int alternative);
1129 /* Attempt to read/write NBYTES on ABFD's IOSTREAM storing/fetching
1133 file_ptr (*bread) (struct bfd *abfd, void *ptr, file_ptr nbytes);
1134 file_ptr (*bwrite) (struct bfd *abfd, const void *ptr,
1138 file_ptr (*btell) (struct bfd *abfd);
1141 int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
1142 int (*bclose) (struct bfd *abfd);
1143 int (*bflush) (struct bfd *abfd);
1144 int (*bstat) (struct bfd *abfd, struct stat *sb);
1146 void *(*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,
1155 long bfd_get_mtime (bfd *abfd);
1164 file_ptr bfd_get_size (bfd *abfd);
1167 with BFD ABFD.
1193 void *bfd_mmap (bfd *abfd, void *addr, bfd_size_type len,
1802 #define bfd_section_list_remove(ABFD, S) \
1811 (ABFD)->sections = _next; \
1815 (ABFD)->section_last = _prev; \
1818 #define bfd_section_list_append(ABFD, S) \
1822 bfd *_abfd = ABFD; \
1837 #define bfd_section_list_prepend(ABFD, S) \
1841 bfd *_abfd = ABFD; \
1856 #define bfd_section_list_insert_after(ABFD, A, S) \
1868 (ABFD)->section_last = _s; \
1871 #define bfd_section_list_insert_before(ABFD, B, S) \
1883 (ABFD)->sections = _s; \
1886 #define bfd_section_removed_from_list(ABFD, S) \
1887 ((S)->next == NULL ? (ABFD)->section_last != (S) : (S)->next->prev != (S))
1948 asection *bfd_get_section_by_name (bfd *abfd, const char *name);
1950 Run through ABFD and return the one of the `asection's whose name
1963 (bfd *abfd,
1965 bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj),
1969 ABFD whose name matches NAME, passing OBJ as an argument. The function
1972 func (abfd, the_section, obj);
1982 (bfd *abfd, const char *templat, int *count);
1984 Invent a section name that is unique in ABFD by tacking a dot and a
1993 asection *bfd_make_section_old_way (bfd *abfd, const char *name);
1996 chain of sections for the BFD ABFD. An attempt to create a section with
2014 (bfd *abfd, const char *name, flagword flags);
2017 chain of sections for ABFD. Create a new section even if there is
2023 ABFD.
2031 asection *bfd_make_section_anyway (bfd *abfd, const char *name);
2034 chain of sections for ABFD. Create a new section even if there is
2039 ABFD.
2072 (bfd *abfd, asection *sec, flagword flags);
2074 Set the attributes of the section SEC in the BFD ABFD to the value
2087 (bfd *abfd, asection *sec, const char *newname);
2089 Rename section SEC in ABFD to NEWNAME.
2096 (bfd *abfd,
2097 void (*func) (bfd *abfd, asection *sect, void *obj),
2101 ABFD, passing OBJ as an argument. The function will be called as if by
2103 func (abfd, the_section, obj);
2109 for (p = abfd->sections; p != NULL; p = p->next)
2110 func (abfd, p, ...)
2117 (bfd *abfd,
2118 bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
2122 BFD ABFD, passing OBJ as an argument. The function will be called as if
2125 operation (abfd, the_section, obj);
2134 (bfd *abfd, asection *sec, bfd_size_type val);
2148 (bfd *abfd, asection *section, const void *data,
2151 Sets the contents of the section SECTION in BFD ABFD to the data
2169 (bfd *abfd, asection *section, void *location, file_ptr offset,
2172 Read data from SECTION in BFD ABFD into memory starting at LOCATION.
2186 (bfd *abfd, asection *section, bfd_byte **buf);
2188 Read all data from SECTION in BFD ABFD into a buffer, *BUF, malloc'd by
2221 bfd_boolean bfd_generic_discard_group (bfd *abfd, asection *group);
2275 storage_needed = bfd_get_symtab_upper_bound (abfd);
2286 bfd_canonicalize_symtab (abfd, symbol_table);
2315 bfd *abfd;
2319 abfd = bfd_openw ("foo","a.out-sunos-big");
2320 bfd_set_format (abfd, bfd_object);
2321 new = bfd_make_empty_symbol (abfd);
2323 new->section = bfd_make_section_old_way (abfd, ".text");
2330 bfd_set_symtab (abfd, ptrs, 1);
2331 bfd_close (abfd);
2529 `asymbols' for all the symbols in the BFD ABFD, including a terminal
2532 #define bfd_get_symtab_upper_bound(abfd) \
2533 BFD_SEND (abfd, _bfd_get_symtab_upper_bound, (abfd))
2539 bfd_boolean bfd_is_local_label (bfd *abfd, asymbol *sym);
2541 Return TRUE if the given symbol SYM in the BFD ABFD is a compiler
2548 bfd_boolean bfd_is_local_label_name (bfd *abfd, const char *name);
2550 Return TRUE if a symbol with the name NAME in the BFD ABFD is a
2553 #define bfd_is_local_label_name(abfd, name) \
2554 BFD_SEND (abfd, _bfd_is_local_label_name, (abfd, name))
2560 bfd_boolean bfd_is_target_special_symbol (bfd *abfd, asymbol *sym);
2562 Return TRUE iff a symbol SYM in the BFD ABFD is something special to
2565 #define bfd_is_target_special_symbol(abfd, sym) \
2566 BFD_SEND (abfd, _bfd_is_target_special_symbol, (abfd, sym))
2572 Read the symbols from the BFD ABFD, and fills in the vector LOCATION
2575 #define bfd_canonicalize_symtab(abfd, location) \
2576 BFD_SEND (abfd, _bfd_canonicalize_symtab, (abfd, location))
2583 (bfd *abfd, asymbol **location, unsigned int count);
2585 Arrange that when the output BFD ABFD is closed, the table LOCATION of
2592 void bfd_print_symbol_vandf (bfd *abfd, void *file, asymbol *symbol);
2600 Create a new `asymbol' structure for the BFD ABFD and return a pointer
2607 #define bfd_make_empty_symbol(abfd) \
2608 BFD_SEND (abfd, _bfd_make_empty_symbol, (abfd))
2616 Create a new `asymbol' structure for the BFD ABFD and return a pointer
2624 Create a new `asymbol' structure for the BFD ABFD, to be used as a
2626 #define bfd_make_debug_symbol(abfd,ptr,size) \
2627 BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
2734 (bfd *abfd, symindex previous, carsym **sym);
2736 Step through archive ABFD's symbol table (if it has one). Successively
2792 bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
2794 Verify if the file attached to the BFD ABFD is compatible with the
2824 (bfd *abfd, bfd_format format, char ***matching);
2839 bfd_boolean bfd_set_format (bfd *abfd, bfd_format format);
2841 This function sets the file format of the BFD ABFD to the format
3247 (bfd *abfd,
3272 (bfd *abfd,
5699 (bfd *abfd, bfd_reloc_code_real_type code);
5701 (bfd *abfd, const char *reloc_name);
5711 (bfd *abfd, bfd_reloc_code_real_type code);
5729 (bfd *abfd,
5762 (bfd *abfd,
5788 const char *bfd_core_file_failing_command (bfd *abfd);
5791 failed and produced the core file ABFD.
5797 int bfd_core_file_failing_signal (bfd *abfd);
5800 the file the BFD ABFD is attached to.
5806 int bfd_core_file_pid (bfd *abfd);
5808 Returns the PID of the process the core dump the BFD ABFD is attached
6348 const bfd_target *bfd_find_target (const char *target_name, bfd *abfd);
6356 "target_defaulted" will be set in the BFD if ABFD isn't `NULL'. This
6365 bfd *abfd,
6376 "target_defaulted" will be set in the BFD if ABFD isn't `NULL'. This
6850 const char *bfd_printable_name (bfd *abfd);
6879 (const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);
6900 void bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg);
6902 Set the architecture info of ABFD to ARG.
6909 (bfd *abfd, enum bfd_architecture arch, unsigned long mach);
6911 Set the architecture and machine type in BFD ABFD to ARCH and MACH.
6919 enum bfd_architecture bfd_get_arch (bfd *abfd);
6921 Return the enumerated type which describes the BFD ABFD's architecture.
6927 unsigned long bfd_get_mach (bfd *abfd);
6929 Return the long type which describes the BFD ABFD's machine.
6935 unsigned int bfd_arch_bits_per_byte (bfd *abfd);
6937 Return the number of bits in one of the BFD ABFD's architecture's bytes.
6943 unsigned int bfd_arch_bits_per_address (bfd *abfd);
6945 Return the number of bits in one of the BFD ABFD's architecture's
6971 const bfd_arch_info_type *bfd_get_arch_info (bfd *abfd);
6973 Return the architecture info struct in ABFD.
7002 unsigned int bfd_octets_per_byte (bfd *abfd);
7114 int (*stat_func) (struct bfd *abfd,
7163 bfd_boolean bfd_close (bfd *abfd);
7210 bfd_boolean bfd_make_writable (bfd *abfd);
7224 bfd_boolean bfd_make_readable (bfd *abfd);
7238 void *bfd_alloc (bfd *abfd, bfd_size_type wanted);
7240 Allocate a block of WANTED bytes of memory attached to `abfd' and
7247 void *bfd_alloc2 (bfd *abfd, bfd_size_type nmemb, bfd_size_type size);
7250 attached to `abfd' and return a pointer to it.
7256 void *bfd_zalloc (bfd *abfd, bfd_size_type wanted);
7258 Allocate a block of WANTED bytes of zeroed memory attached to `abfd'
7265 void *bfd_zalloc2 (bfd *abfd, bfd_size_type nmemb, bfd_size_type size);
7268 attached to `abfd' and return a pointer to it.
7288 char *get_debug_link_info (bfd *abfd, unsigned long *crc32_out);
7291 associated with ABFD
7307 char *find_separate_debug_file (bfd *abfd);
7309 Searches ABFD for a reference to separate debugging information, scans
7319 char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
7341 (bfd *abfd, const char *filename);
7355 (bfd *abfd, struct bfd_section *sect, const char *filename);
7384 Write a 4 byte integer I to the output BFD ABFD, in big endian order
7412 #define bfd_put_8(abfd, val, ptr) \
7416 #define bfd_get_8(abfd, ptr) \
7418 #define bfd_get_signed_8(abfd, ptr) \
7421 #define bfd_put_16(abfd, val, ptr) \
7422 BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
7425 #define bfd_get_16(abfd, ptr) \
7426 BFD_SEND (abfd, bfd_getx16, (ptr))
7427 #define bfd_get_signed_16(abfd, ptr) \
7428 BFD_SEND (abfd, bfd_getx_signed_16, (ptr))
7430 #define bfd_put_32(abfd, val, ptr) \
7431 BFD_SEND (abfd, bfd_putx32, ((val),(ptr)))
7434 #define bfd_get_32(abfd, ptr) \
7435 BFD_SEND (abfd, bfd_getx32, (ptr))
7436 #define bfd_get_signed_32(abfd, ptr) \
7437 BFD_SEND (abfd, bfd_getx_signed_32, (ptr))
7439 #define bfd_put_64(abfd, val, ptr) \
7440 BFD_SEND (abfd, bfd_putx64, ((val), (ptr)))
7443 #define bfd_get_64(abfd, ptr) \
7444 BFD_SEND (abfd, bfd_getx64, (ptr))
7445 #define bfd_get_signed_64(abfd, ptr) \
7446 BFD_SEND (abfd, bfd_getx_signed_64, (ptr))
7448 #define bfd_get(bits, abfd, ptr) \
7449 ((bits) == 8 ? (bfd_vma) bfd_get_8 (abfd, ptr) \
7450 : (bits) == 16 ? bfd_get_16 (abfd, ptr) \
7451 : (bits) == 32 ? bfd_get_32 (abfd, ptr) \
7452 : (bits) == 64 ? bfd_get_64 (abfd, ptr) \
7455 #define bfd_put(bits, abfd, val, ptr) \
7456 ((bits) == 8 ? bfd_put_8 (abfd, val, ptr) \
7457 : (bits) == 16 ? bfd_put_16 (abfd, val, ptr) \
7458 : (bits) == 32 ? bfd_put_32 (abfd, val, ptr) \
7459 : (bits) == 64 ? bfd_put_64 (abfd, val, ptr) \
7474 #define bfd_h_put_8(abfd, val, ptr) \
7475 bfd_put_8 (abfd, val, ptr)
7476 #define bfd_h_put_signed_8(abfd, val, ptr) \
7477 bfd_put_8 (abfd, val, ptr)
7478 #define bfd_h_get_8(abfd, ptr) \
7479 bfd_get_8 (abfd, ptr)
7480 #define bfd_h_get_signed_8(abfd, ptr) \
7481 bfd_get_signed_8 (abfd, ptr)
7483 #define bfd_h_put_16(abfd, val, ptr) \
7484 BFD_SEND (abfd, bfd_h_putx16, (val, ptr))
7487 #define bfd_h_get_16(abfd, ptr) \
7488 BFD_SEND (abfd, bfd_h_getx16, (ptr))
7489 #define bfd_h_get_signed_16(abfd, ptr) \
7490 BFD_SEND (abfd, bfd_h_getx_signed_16, (ptr))
7492 #define bfd_h_put_32(abfd, val, ptr) \
7493 BFD_SEND (abfd, bfd_h_putx32, (val, ptr))
7496 #define bfd_h_get_32(abfd, ptr) \
7497 BFD_SEND (abfd, bfd_h_getx32, (ptr))
7498 #define bfd_h_get_signed_32(abfd, ptr) \
7499 BFD_SEND (abfd, bfd_h_getx_signed_32, (ptr))
7501 #define bfd_h_put_64(abfd, val, ptr) \
7502 BFD_SEND (abfd, bfd_h_putx64, (val, ptr))
7505 #define bfd_h_get_64(abfd, ptr) \
7506 BFD_SEND (abfd, bfd_h_getx64, (ptr))
7507 #define bfd_h_get_signed_64(abfd, ptr) \
7508 BFD_SEND (abfd, bfd_h_getx_signed_64, (ptr))
7560 bfd_boolean bfd_cache_init (bfd *abfd);
7568 bfd_boolean bfd_cache_close (bfd *abfd);
7570 Remove the BFD ABFD from the cache. If the attached file is open, then
7594 FILE* bfd_open_file (bfd *abfd);
7596 Call the OS to open a file for ABFD. Return the `FILE *' (possibly
7959 bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
7963 #define bfd_link_split_section(abfd, sec) \
7964 BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
7970 void bfd_section_already_linked (bfd *abfd, asection *sec,
7975 #define bfd_section_already_linked(abfd, sec, info) \
7976 BFD_SEND (abfd, _section_already_linked, (abfd, sec, info))
8380 (bfd *abfd,
8392 (bfd *abfd,
8404 (bfd *abfd,
8408 Some a.out variant thinks that the file open in ABFD checking is an
8417 bfd_boolean aout_SIZE_mkobject, (bfd *abfd);
8419 Initialize BFD ABFD for use with a.out files.
8447 Set the architecture and the machine of the BFD ABFD to the values ARCH
8448 and MACHINE. Verify that ABFD's format can support the architecture
8456 (bfd *abfd,
8845 (bfd *abfd, void *, void *);
8922 #define coff_backend_info(abfd) \
8923 ((bfd_coff_backend_data *) (abfd)->xvec->backend_data)
8934 #define bfd_coff_swap_reloc_out(abfd, i, o) \
8935 ((coff_backend_info (abfd)->_bfd_coff_swap_reloc_out) (abfd, i, o))
8937 #define bfd_coff_swap_lineno_out(abfd, i, o) \
8938 ((coff_backend_info (abfd)->_bfd_coff_swap_lineno_out) (abfd, i, o))
8943 #define bfd_coff_swap_sym_out(abfd, i,o) \
8944 ((coff_backend_info (abfd)->_bfd_coff_swap_sym_out) (abfd, i, o))
8946 #define bfd_coff_swap_scnhdr_out(abfd, i,o) \
8947 ((coff_backend_info (abfd)->_bfd_coff_swap_scnhdr_out) (abfd, i, o))
8949 #define bfd_coff_swap_filehdr_out(abfd, i,o) \
8950 ((coff_backend_info (abfd)->_bfd_coff_swap_filehdr_out) (abfd, i, o))
8952 #define bfd_coff_swap_aouthdr_out(abfd, i,o) \
8953 ((coff_backend_info (abfd)->_bfd_coff_swap_aouthdr_out) (abfd, i, o))
8955 #define bfd_coff_filhsz(abfd) (coff_backend_info (abfd)->_bfd_filhsz)
8956 #define bfd_coff_aoutsz(abfd) (coff_backend_info (abfd)->_bfd_aoutsz)
8957 #define bfd_coff_scnhsz(abfd) (coff_backend_info (abfd)->_bfd_scnhsz)
8958 #define bfd_coff_symesz(abfd) (coff_backend_info (abfd)->_bfd_symesz)
8959 #define bfd_coff_auxesz(abfd) (coff_backend_info (abfd)->_bfd_auxesz)
8960 #define bfd_coff_relsz(abfd) (coff_backend_info (abfd)->_bfd_relsz)
8961 #define bfd_coff_linesz(abfd) (coff_backend_info (abfd)->_bfd_linesz)
8962 #define bfd_coff_filnmlen(abfd) (coff_backend_info (abfd)->_bfd_filnmlen)
8963 #define bfd_coff_long_filenames(abfd) \
8964 (coff_backend_info (abfd)->_bfd_coff_long_filenames)
8965 #define bfd_coff_long_section_names(abfd) \
8966 (coff_backend_info (abfd)->_bfd_coff_long_section_names)
8967 #define bfd_coff_set_long_section_names(abfd, enable) \
8968 ((coff_backend_info (abfd)->_bfd_coff_set_long_section_names) (abfd, enable))
8969 #define bfd_coff_default_section_alignment_power(abfd) \
8970 (coff_backend_info (abfd)->_bfd_coff_default_section_alignment_power)
8971 #define bfd_coff_swap_filehdr_in(abfd, i,o) \
8972 ((coff_backend_info (abfd)->_bfd_coff_swap_filehdr_in) (abfd, i, o))
8974 #define bfd_coff_swap_aouthdr_in(abfd, i,o) \
8975 ((coff_backend_info (abfd)->_bfd_coff_swap_aouthdr_in) (abfd, i, o))
8977 #define bfd_coff_swap_scnhdr_in(abfd, i,o) \
8978 ((coff_backend_info (abfd)->_bfd_coff_swap_scnhdr_in) (abfd, i, o))
8980 #define bfd_coff_swap_reloc_in(abfd, i, o) \
8981 ((coff_backend_info (abfd)->_bfd_coff_swap_reloc_in) (abfd, i, o))
8983 #define bfd_coff_bad_format_hook(abfd, filehdr) \
8984 ((coff_backend_info (abfd)->_bfd_coff_bad_format_hook) (abfd, filehdr))
8986 #define bfd_coff_set_arch_mach_hook(abfd, filehdr)\
8987 ((coff_backend_info (abfd)->_bfd_coff_set_arch_mach_hook) (abfd, filehdr))
8988 #define bfd_coff_mkobject_hook(abfd, filehdr, aouthdr)\
8989 ((coff_backend_info (abfd)->_bfd_coff_mkobject_hook)\
8990 (abfd, filehdr, aouthdr))
8992 #define bfd_coff_styp_to_sec_flags_hook(abfd, scnhdr, name, section, flags_ptr)\
8993 ((coff_backend_info (abfd)->_bfd_styp_to_sec_flags_hook)\
8994 (abfd, scnhdr, name, section, flags_ptr))
8996 #define bfd_coff_set_alignment_hook(abfd, sec, scnhdr)\
8997 ((coff_backend_info (abfd)->_bfd_set_alignment_hook) (abfd, sec, scnhdr))
8999 #define bfd_coff_slurp_symbol_table(abfd)\
9000 ((coff_backend_info (abfd)->_bfd_coff_slurp_symbol_table) (abfd))
9002 #define bfd_coff_symname_in_debug(abfd, sym)\
9003 ((coff_backend_info (abfd)->_bfd_coff_symname_in_debug) (abfd, sym))
9005 #define bfd_coff_force_symnames_in_strings(abfd)\
9006 (coff_backend_info (abfd)->_bfd_coff_force_symnames_in_strings)
9008 #define bfd_coff_debug_string_prefix_length(abfd)\
9009 (coff_backend_info (abfd)->_bfd_coff_debug_string_prefix_length)
9011 #define bfd_coff_print_aux(abfd, file, base, symbol, aux, indaux)\
9012 ((coff_backend_info (abfd)->_bfd_coff_print_aux)\
9013 (abfd, file, base, symbol, aux, indaux))
9015 #define bfd_coff_reloc16_extra_cases(abfd, link_info, link_order,\
9017 ((coff_backend_info (abfd)->_bfd_coff_reloc16_extra_cases)\
9018 (abfd, link_info, link_order, reloc, data, src_ptr, dst_ptr))
9020 #define bfd_coff_reloc16_estimate(abfd, section, reloc, shrink, link_info)\
9021 ((coff_backend_info (abfd)->_bfd_coff_reloc16_estimate)\
9022 (abfd, section, reloc, shrink, link_info))
9024 #define bfd_coff_classify_symbol(abfd, sym)\
9025 ((coff_backend_info (abfd)->_bfd_coff_classify_symbol)\
9026 (abfd, sym))
9028 #define bfd_coff_compute_section_file_positions(abfd)\
9029 ((coff_backend_info (abfd)->_bfd_coff_compute_section_file_positions)\
9030 (abfd))
9038 #define bfd_coff_rtype_to_howto(abfd, sec, rel, h, sym, addendp)\
9039 ((coff_backend_info (abfd)->_bfd_coff_rtype_to_howto)\
9040 (abfd, sec, rel, h, sym, addendp))
9042 ((coff_backend_info (abfd)->_bfd_coff_adjust_symndx)\
9044 #define bfd_coff_link_add_one_symbol(info, abfd, name, flags, section,\
9046 ((coff_backend_info (abfd)->_bfd_coff_link_add_one_symbol)\
9047 (info, abfd, name, flags, section, value, string, cp, coll, hashp))
9061 #define bfd_pei_p(abfd) \
9062 (CONST_STRNEQ ((abfd)->xvec->name, "pei-"))