Lines Matching refs:bfd

113 typedef struct bfd bfd;  typedef
194 extern void bfd_sprintf_vma (bfd *, char *, bfd_vma);
195 extern void bfd_fprintf_vma (bfd *, void *, bfd_vma);
319 bfd *abfd;
343 #define bfd_get_section_name(bfd, ptr) ((ptr)->name + 0) argument
344 #define bfd_get_section_vma(bfd, ptr) ((ptr)->vma + 0) argument
345 #define bfd_get_section_lma(bfd, ptr) ((ptr)->lma + 0) argument
346 #define bfd_get_section_alignment(bfd, ptr) ((ptr)->alignment_power + 0) argument
347 #define bfd_section_name(bfd, ptr) ((ptr)->name) argument
348 #define bfd_section_size(bfd, ptr) ((ptr)->size) argument
350 #define bfd_section_vma(bfd, ptr) ((ptr)->vma) argument
351 #define bfd_section_lma(bfd, ptr) ((ptr)->lma) argument
352 #define bfd_section_alignment(bfd, ptr) ((ptr)->alignment_power) argument
353 #define bfd_get_section_flags(bfd, ptr) ((ptr)->flags + 0) argument
354 #define bfd_get_section_userdata(bfd, ptr) ((ptr)->userdata) argument
358 #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma… argument
359 #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) argument
360 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE) argument
362 #define bfd_get_section_limit(bfd, sec) \ argument
364 / bfd_octets_per_byte (bfd))
518 extern bfd_size_type bfd_bread (void *, bfd_size_type, bfd *);
519 extern bfd_size_type bfd_bwrite (const void *, bfd_size_type, bfd *);
520 extern int bfd_seek (bfd *, file_ptr, int);
521 extern file_ptr bfd_tell (bfd *);
522 extern int bfd_flush (bfd *);
523 extern int bfd_stat (bfd *, struct stat *);
580 (bfd *abfd);
586 (bfd *, unsigned long, bfd_boolean, flagword, bfd_boolean, bfd_vma,
630 (bfd * abfd);
632 (bfd *abfd, bfd_vma gp_value);
634 (bfd *abfd, unsigned long gprmask, unsigned long fprmask,
637 (bfd *output_bfd, struct ecoff_debug_info *output_debug,
640 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
643 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
644 const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
648 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
649 const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
652 (bfd *abfd, struct ecoff_debug_info *debug,
657 (bfd *abfd, struct ecoff_debug_info *debug,
661 (bfd *abfd, struct ecoff_debug_info *debug,
664 (bfd *abfd, struct ecoff_debug_info *debug,
667 (void *handle, bfd *abfd, struct ecoff_debug_info *debug,
676 bfd *by;
695 (bfd *, struct bfd_link_info *, const char *, bfd_boolean,
698 (bfd *, struct bfd_link_info *);
700 (bfd *, struct bfd_link_needed_list **);
702 (bfd *, const char *, const char *, const char *, const char * const *,
706 (bfd *, struct bfd_link_info *);
708 (bfd *, const char *);
710 (bfd *);
712 (bfd *, enum dynamic_lib_link_class);
714 (bfd *);
716 (bfd *, struct bfd_link_info *);
718 (bfd *, struct bfd_link_info *);
726 (bfd *abfd);
736 (bfd *abfd, void *phdrs);
750 extern bfd *bfd_elf_bfd_from_remote_memory
751 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
756 (bfd *);
760 (bfd *);
763 (bfd *, struct bfd_link_info *);
766 (bfd *, struct bfd_link_info *);
773 (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *,
777 (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *,
783 (bfd *, struct bfd_link_info *);
785 (bfd *, struct bfd_link_info *, const char *);
787 (bfd *, struct bfd_link_info *, struct bfd_section **,
793 (bfd *, struct bfd_link_info *);
795 (bfd *, struct bfd_link_info *);
797 (bfd *, struct bfd_link_info *);
824 (bfd *, file_ptr, bfd_size_type, bfd_window *, bfd_boolean);
829 (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_size_type);
831 (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_vma,
834 (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *);
836 (bfd *, struct bfd_link_info *, const char *);
838 (bfd *, struct bfd_link_info *, const char *);
840 (bfd *, struct bfd_link_info *, const char *, const char *,
844 (bfd *, const char *, const char *, bfd_boolean);
848 (bfd *, char *);
858 (bfd *, struct bfd_symbol *, struct internal_syment *);
861 (bfd *, struct bfd_symbol *, int, union internal_auxent *);
864 (bfd *, struct bfd_symbol *, unsigned int);
867 (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **);
879 (bfd *);
882 (bfd *, struct bfd_link_info *);
885 (bfd *, struct bfd_link_info *);
888 (bfd *, struct bfd_link_info *);
895 (bfd *, struct bfd_link_info *, int);
898 (bfd *, struct bfd_link_info *);
905 (bfd *, struct bfd_link_info *, int);
908 (bfd *, struct bfd_link_info *);
915 (bfd *, struct bfd_link_info *);
918 (bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix,
922 (bfd *, struct bfd_link_info *);
925 (bfd *, struct bfd_link_info *);
939 (bfd *, bfd *);
942 (bfd *, const char *);
945 (bfd *, const char *);
956 (bfd *, bfd_vma);
983 (bfd *, struct bfd_section *);
989 bfd *bfd_fopen (const char *filename, const char *target,
992 bfd *bfd_openr (const char *filename, const char *target);
994 bfd *bfd_fdopenr (const char *filename, const char *target, int fd);
996 bfd *bfd_openstreamr (const char *, const char *, void *);
998 bfd *bfd_openr_iovec (const char *filename, const char *target,
999 void *(*open) (struct bfd *nbfd,
1002 file_ptr (*pread) (struct bfd *nbfd,
1007 int (*close) (struct bfd *nbfd,
1009 int (*stat) (struct bfd *abfd,
1013 bfd *bfd_openw (const char *filename, const char *target);
1015 bfd_boolean bfd_close (bfd *abfd);
1017 bfd_boolean bfd_close_all_done (bfd *);
1019 bfd *bfd_create (const char *filename, bfd *templ);
1021 bfd_boolean bfd_make_writable (bfd *abfd);
1023 bfd_boolean bfd_make_readable (bfd *abfd);
1028 char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir);
1031 (bfd *abfd, const char *filename);
1034 (bfd *abfd, struct bfd_section *sect, const char *filename);
1150 long bfd_get_mtime (bfd *abfd);
1152 file_ptr bfd_get_size (bfd *abfd);
1504 bfd *owner;
1575 bfd *_abfd = ABFD; \
1594 bfd *_abfd = ABFD; \
1680 void bfd_section_list_clear (bfd *);
1682 asection *bfd_get_section_by_name (bfd *abfd, const char *name);
1685 (bfd *abfd,
1687 bfd_boolean (*func) (bfd *abfd, asection *sect, void *obj),
1691 (bfd *abfd, const char *templat, int *count);
1693 asection *bfd_make_section_old_way (bfd *abfd, const char *name);
1696 (bfd *abfd, const char *name, flagword flags);
1698 asection *bfd_make_section_anyway (bfd *abfd, const char *name);
1701 (bfd *, const char *name, flagword flags);
1703 asection *bfd_make_section (bfd *, const char *name);
1706 (bfd *abfd, asection *sec, flagword flags);
1709 (bfd *abfd,
1710 void (*func) (bfd *abfd, asection *sect, void *obj),
1714 (bfd *abfd,
1715 bfd_boolean (*operation) (bfd *abfd, asection *sect, void *obj),
1719 (bfd *abfd, asection *sec, bfd_size_type val);
1722 (bfd *abfd, asection *section, const void *data,
1726 (bfd *abfd, asection *section, void *location, file_ptr offset,
1730 (bfd *abfd, asection *section, bfd_byte **buf);
1733 (bfd *ibfd, asection *isec, bfd *obfd, asection *osec);
1738 bfd_boolean bfd_generic_is_group_section (bfd *, const asection *sec);
1740 bfd_boolean bfd_generic_discard_group (bfd *abfd, asection *group);
2098 const char *bfd_printable_name (bfd *abfd);
2105 (const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns);
2107 void bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg);
2109 enum bfd_architecture bfd_get_arch (bfd *abfd);
2111 unsigned long bfd_get_mach (bfd *abfd);
2113 unsigned int bfd_arch_bits_per_byte (bfd *abfd);
2115 unsigned int bfd_arch_bits_per_address (bfd *abfd);
2117 const bfd_arch_info_type *bfd_get_arch_info (bfd *abfd);
2125 unsigned int bfd_octets_per_byte (bfd *abfd);
2241 (bfd *, arelent *, struct bfd_symbol *, void *, asection *,
2242 bfd *, char **);
2329 (bfd *abfd,
2333 bfd *output_bfd,
2337 (bfd *abfd,
4402 (bfd *abfd, bfd_reloc_code_real_type code);
4404 (bfd *abfd, const char *reloc_name);
4421 struct bfd *the_bfd; /* Use bfd_asymbol_bfd(sym) to access this field. */
4545 bfd_boolean bfd_is_local_label (bfd *abfd, asymbol *sym);
4547 bfd_boolean bfd_is_local_label_name (bfd *abfd, const char *name);
4552 bfd_boolean bfd_is_target_special_symbol (bfd *abfd, asymbol *sym);
4561 (bfd *abfd, asymbol **location, unsigned int count);
4563 void bfd_print_symbol_vandf (bfd *abfd, void *file, asymbol *symbol);
4568 asymbol *_bfd_generic_make_empty_symbol (bfd *);
4580 (bfd *ibfd, asymbol *isym, bfd *obfd, asymbol *osym);
4587 struct bfd struct
4614 struct bfd *lru_prev, *lru_next; argument
4691 struct bfd *my_archive; /* The containing archive BFD. */ argument
4692 struct bfd *archive_next; /* The next BFD in the archive. */ argument
4693 struct bfd *archive_head; /* The first BFD in the archive. */ argument
4697 struct bfd *link_next; argument
4795 long bfd_get_reloc_upper_bound (bfd *abfd, asection *sect);
4798 (bfd *abfd, asection *sec, arelent **loc, asymbol **syms);
4801 (bfd *abfd, asection *sec, arelent **rel, unsigned int count);
4803 bfd_boolean bfd_set_file_flags (bfd *abfd, flagword flags);
4805 int bfd_get_arch_size (bfd *abfd);
4807 int bfd_get_sign_extend_vma (bfd *abfd);
4809 bfd_boolean bfd_set_start_address (bfd *abfd, bfd_vma vma);
4811 unsigned int bfd_get_gp_size (bfd *abfd);
4813 void bfd_set_gp_size (bfd *abfd, unsigned int i);
4817 bfd_boolean bfd_copy_private_header_data (bfd *ibfd, bfd *obfd);
4822 bfd_boolean bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd);
4827 bfd_boolean bfd_merge_private_bfd_data (bfd *ibfd, bfd *obfd);
4832 bfd_boolean bfd_set_private_flags (bfd *abfd, flagword flags);
4922 (bfd *, struct bfd_link_info *, struct bfd_link_order *, bfd_byte *,
4925 bfd_boolean bfd_alt_mach_code (bfd *abfd, int alternative);
4939 bfd_boolean bfd_preserve_save (bfd *, struct bfd_preserve *);
4941 void bfd_preserve_restore (bfd *, struct bfd_preserve *);
4943 void bfd_preserve_finish (bfd *, struct bfd_preserve *);
4953 char *bfd_demangle (bfd *, const char *, int);
4957 (bfd *abfd, symindex previous, carsym **sym);
4959 bfd_boolean bfd_set_archive_head (bfd *output, bfd *new_head);
4961 bfd *bfd_openr_next_archived_file (bfd *archive, bfd *previous);
4964 const char *bfd_core_file_failing_command (bfd *abfd);
4966 int bfd_core_file_failing_signal (bfd *abfd);
4969 (bfd *core_bfd, bfd *exec_bfd);
4972 (bfd *core_bfd, bfd *exec_bfd);
4975 #define BFD_SEND(bfd, message, arglist) \ argument
4976 ((*((bfd)->xvec->message)) arglist)
4980 #define BFD_SEND(bfd, message, arglist) \ argument
4981 (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \
4982 ((*((bfd)->xvec->message)) arglist) : \
4985 #define BFD_SEND_FMT(bfd, message, arglist) \ argument
4986 (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist)
4990 #define BFD_SEND_FMT(bfd, message, arglist) \ argument
4991 (((bfd) && (bfd)->xvec && (bfd)->xvec->message) ? \
4992 (((bfd)->xvec->message[(int) ((bfd)->format)]) arglist) : \
5089 const struct bfd_target *(*_bfd_check_format[bfd_type_end]) (bfd *);
5092 bfd_boolean (*_bfd_set_format[bfd_type_end]) (bfd *);
5095 bfd_boolean (*_bfd_write_contents[bfd_type_end]) (bfd *);
5107 bfd_boolean (*_close_and_cleanup) (bfd *);
5109 bfd_boolean (*_bfd_free_cached_info) (bfd *);
5111 bfd_boolean (*_new_section_hook) (bfd *, sec_ptr);
5114 (bfd *, sec_ptr, void *, file_ptr, bfd_size_type);
5116 (bfd *, sec_ptr, bfd_window *, file_ptr, bfd_size_type);
5131 bfd_boolean (*_bfd_copy_private_bfd_data) (bfd *, bfd *);
5134 bfd_boolean (*_bfd_merge_private_bfd_data) (bfd *, bfd *);
5140 (bfd *, sec_ptr, bfd *, sec_ptr, struct bfd_link_info *);
5144 (bfd *, sec_ptr, bfd *, sec_ptr);
5148 (bfd *, asymbol *, bfd *, asymbol *);
5152 (bfd *, bfd *);
5154 bfd_boolean (*_bfd_set_private_flags) (bfd *, flagword);
5157 bfd_boolean (*_bfd_print_private_bfd_data) (bfd *, void *);
5165 char * (*_core_file_failing_command) (bfd *);
5166 int (*_core_file_failing_signal) (bfd *);
5167 bfd_boolean (*_core_file_matches_executable_p) (bfd *, bfd *);
5182 bfd_boolean (*_bfd_slurp_armap) (bfd *);
5183 bfd_boolean (*_bfd_slurp_extended_name_table) (bfd *);
5185 (bfd *, char **, bfd_size_type *, const char **);
5186 void (*_bfd_truncate_arname) (bfd *, const char *, char *);
5188 (bfd *, unsigned int, struct orl *, unsigned int, int);
5189 void * (*_bfd_read_ar_hdr_fn) (bfd *);
5190 bfd * (*openr_next_archived_file) (bfd *, bfd *);
5192 bfd * (*_bfd_get_elt_at_index) (bfd *, symindex);
5193 int (*_bfd_stat_arch_elt) (bfd *, struct stat *);
5194 bfd_boolean (*_bfd_update_armap_timestamp) (bfd *);
5213 long (*_bfd_get_symtab_upper_bound) (bfd *);
5215 (bfd *, struct bfd_symbol **);
5217 (*_bfd_make_empty_symbol) (bfd *);
5219 (bfd *, void *, struct bfd_symbol *, bfd_print_symbol_type);
5222 (bfd *, struct bfd_symbol *, symbol_info *);
5224 bfd_boolean (*_bfd_is_local_label_name) (bfd *, const char *);
5225 bfd_boolean (*_bfd_is_target_special_symbol) (bfd *, asymbol *);
5226 alent * (*_get_lineno) (bfd *, struct bfd_symbol *);
5228 (bfd *, struct bfd_section *, struct bfd_symbol **, bfd_vma,
5231 (bfd *, struct bfd_symbol **, struct bfd_symbol *,
5234 (bfd *, const char **, const char **, unsigned int *);
5239 (bfd *, void *, unsigned long size);
5243 (bfd *, bfd_boolean, void **, unsigned int *);
5247 (bfd *, bfd_boolean, const void *, asymbol *);
5256 long (*_get_reloc_upper_bound) (bfd *, sec_ptr);
5258 (bfd *, sec_ptr, arelent **, struct bfd_symbol **);
5261 (*reloc_type_lookup) (bfd *, bfd_reloc_code_real_type);
5263 (*reloc_name_lookup) (bfd *, const char *);
5272 (bfd *, enum bfd_architecture, unsigned long);
5274 (bfd *, sec_ptr, const void *, file_ptr, bfd_size_type);
5293 int (*_bfd_sizeof_headers) (bfd *, struct bfd_link_info *);
5295 (bfd *, struct bfd_link_info *, struct bfd_link_order *,
5299 (bfd *, struct bfd_section *, struct bfd_link_info *, bfd_boolean *);
5304 (*_bfd_link_hash_table_create) (bfd *);
5310 bfd_boolean (*_bfd_link_add_symbols) (bfd *, struct bfd_link_info *);
5317 bfd_boolean (*_bfd_final_link) (bfd *, struct bfd_link_info *);
5320 bfd_boolean (*_bfd_link_split_section) (bfd *, struct bfd_section *);
5323 bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
5326 bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *);
5329 bfd_boolean (*_bfd_is_group_section) (bfd *, const struct bfd_section *);
5332 bfd_boolean (*_bfd_discard_group) (bfd *, struct bfd_section *);
5336 void (*_section_already_linked) (bfd *, struct bfd_section *,
5348 long (*_bfd_get_dynamic_symtab_upper_bound) (bfd *);
5351 (bfd *, struct bfd_symbol **);
5354 (bfd *, long, struct bfd_symbol **, long, struct bfd_symbol **,
5357 long (*_bfd_get_dynamic_reloc_upper_bound) (bfd *);
5360 (bfd *, arelent **, struct bfd_symbol **);
5373 const bfd_target *bfd_find_target (const char *target_name, bfd *abfd);
5382 bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
5385 (bfd *abfd, bfd_format format, char ***matching);
5387 bfd_boolean bfd_set_format (bfd *abfd, bfd_format format);
5392 bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
5397 void bfd_section_already_linked (bfd *abfd, asection *sec,
5405 (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);