Lines Matching defs:bfd

1 /* Main header file for the bfd library -- portable access to object files.
49 been selected with --enable-targets, or if --enable-64-bit-bfd. */
52 /* The word size of the default bfd target. */
77 typedef struct bfd bfd;
79 /* Boolean type used in bfd. Too many systems define their own
158 extern void bfd_sprintf_vma (bfd *, char *, bfd_vma);
159 extern void bfd_fprintf_vma (bfd *, void *, bfd_vma);
291 bfd *abfd;
292 } u; /* bfd* or file position. */
317 #define bfd_get_section_name(bfd, ptr) ((ptr)->name + 0)
318 #define bfd_get_section_vma(bfd, ptr) ((ptr)->vma + 0)
319 #define bfd_get_section_lma(bfd, ptr) ((ptr)->lma + 0)
320 #define bfd_get_section_alignment(bfd, ptr) ((ptr)->alignment_power + 0)
321 #define bfd_section_name(bfd, ptr) ((ptr)->name)
322 #define bfd_section_size(bfd, ptr) ((ptr)->size)
324 #define bfd_section_vma(bfd, ptr) ((ptr)->vma)
325 #define bfd_section_lma(bfd, ptr) ((ptr)->lma)
326 #define bfd_section_alignment(bfd, ptr) ((ptr)->alignment_power)
327 #define bfd_get_section_flags(bfd, ptr) ((ptr)->flags + 0)
328 #define bfd_get_section_userdata(bfd, ptr) ((ptr)->userdata)
332 #define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE)
333 #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
334 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
336 #define bfd_get_section_limit(bfd, sec) \
338 / bfd_octets_per_byte (bfd))
482 extern bfd_size_type bfd_bread (void *, bfd_size_type, bfd *);
483 extern bfd_size_type bfd_bwrite (const void *, bfd_size_type, bfd *);
484 extern int bfd_seek (bfd *, file_ptr, int);
485 extern file_ptr bfd_tell (bfd *);
486 extern int bfd_flush (bfd *);
487 extern int bfd_stat (bfd *, struct stat *);
544 (bfd *abfd);
550 (bfd *, unsigned long, bfd_boolean, flagword, bfd_boolean, bfd_vma,
595 (bfd * abfd);
597 (bfd *abfd, bfd_vma gp_value);
599 (bfd *abfd, unsigned long gprmask, unsigned long fprmask,
602 (bfd *output_bfd, struct ecoff_debug_info *output_debug,
605 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
608 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
609 const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
613 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
614 const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
617 (bfd *abfd, struct ecoff_debug_info *debug,
622 (bfd *abfd, struct ecoff_debug_info *debug,
626 (bfd *abfd, struct ecoff_debug_info *debug,
629 (bfd *abfd, struct ecoff_debug_info *debug,
632 (void *handle, bfd *abfd, struct ecoff_debug_info *debug,
641 bfd *by;
654 (bfd *, struct bfd_link_info *, const char *, bfd_boolean,
657 (bfd *, struct bfd_link_info *);
659 (bfd *, struct bfd_link_needed_list **);
661 (bfd *, const char *, const char *, const char *, const char * const *,
665 (bfd *, struct bfd_link_info *);
667 (bfd *, const char *);
669 (bfd *);
671 (bfd *, int);
673 (bfd *);
675 (bfd *, struct bfd_link_info *);
677 (bfd *, struct bfd_link_info *);
685 (bfd *abfd);
695 (bfd *abfd, void *phdrs);
709 extern bfd *bfd_elf_bfd_from_remote_memory
710 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
713 /* Return the arch_size field of an elf bfd, or -1 if not elf. */
715 (bfd *);
719 (bfd *);
722 (bfd *, struct bfd_link_info *);
725 (bfd *, struct bfd_link_info *);
732 (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *,
736 (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *,
742 (bfd *, struct bfd_link_info *);
744 (bfd *, struct bfd_link_info *, const char *);
746 (bfd *, struct bfd_link_info *, struct bfd_section **,
752 (bfd *, struct bfd_link_info *);
754 (bfd *, struct bfd_link_info *);
756 (bfd *, struct bfd_link_info *);
783 (bfd *, file_ptr, bfd_size_type, bfd_window *, bfd_boolean);
788 (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_size_type);
790 (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *, bfd_vma,
793 (bfd *, struct bfd_link_info *, struct bfd_link_hash_entry *);
795 (bfd *, struct bfd_link_info *, const char *);
797 (bfd *, struct bfd_link_info *, const char *);
799 (bfd *, struct bfd_link_info *, const char *, const char *,
803 (bfd *, const char *, const char *, bfd_boolean);
807 (bfd *, char *);
817 (bfd *, struct bfd_symbol *, struct internal_syment *);
820 (bfd *, struct bfd_symbol *, int, union internal_auxent *);
823 (bfd *, struct bfd_symbol *, unsigned int);
826 (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *, char **);
833 (bfd *, struct bfd_link_info *, int);
836 (bfd *, struct bfd_link_info *);
843 (bfd *, struct bfd_link_info *, int);
846 (bfd *, struct bfd_link_info *);
853 (bfd *, struct bfd_link_info *, int);
859 (bfd *, struct bfd_link_info *);
862 (bfd *, struct bfd_link_info *);
870 (bfd *, bfd *);
873 (bfd *, const char *);
876 (bfd *, const char *);
887 (bfd *, bfd_vma);
914 (bfd *, struct bfd_section *);