Home | History | Annotate | Download | only in bfd

Lines Matching full:bfd

1 /* Main header file for the bfd library -- portable access to object files.
7 This file is part of BFD, the Binary File Descriptor library.
76 /* The word size used by BFD on the host. This may be 64 with a 32
78 been selected with --enable-targets, or if --enable-64-bit-bfd. */
81 /* The word size of the default bfd target. */
110 typedef struct bfd bfd;
112 /* Boolean type used in bfd. Too many systems define their own
186 /* An offset into a file. BFD always uses the largest possible offset
191 extern void bfd_sprintf_vma (bfd *, char *, bfd_vma);
192 extern void bfd_fprintf_vma (bfd *, void *, bfd_vma);
257 bfd *abfd;
258 } u; /* bfd* or file position. */
283 #define bfd_get_section_name(bfd, ptr) ((void) bfd, (ptr)->name)
284 #define bfd_get_section_vma(bfd, ptr) ((void) bfd, (ptr)->vma)
285 #define bfd_get_section_lma(bfd, ptr) ((void) bfd, (ptr)->lma)
286 #define bfd_get_section_alignment(bfd, ptr) ((void) bfd, \
288 #define bfd_section_name(bfd, ptr) ((ptr)->name)
289 #define bfd_section_size(bfd, ptr) ((ptr)->size)
291 #define bfd_section_vma(bfd, ptr) ((ptr)->vma)
292 #define bfd_section_lma(bfd, ptr) ((ptr)->lma)
293 #define bfd_section_alignment(bfd, ptr) ((ptr)->alignment_power)
294 #define bfd_get_section_flags(bfd, ptr) ((void) bfd, (ptr)->flags)
295 #define bfd_get_section_userdata(bfd, ptr) ((void) bfd, (ptr)->userdata)
300 #define bfd_get_section_limit(bfd, sec) \
301 (((bfd)->direction != write_direction && (sec)->rawsize != 0 \
302 ? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd))
458 /* User program access to BFD facilities. */
461 file than BFD does. Use higher level routines if possible. */
463 extern bfd_size_type bfd_bread (void *, bfd_size_type, bfd *);
464 extern bfd_size_type bfd_bwrite (const void *, bfd_size_type, bfd *);
465 extern int bfd_seek (bfd *, file_ptr, int);
466 extern file_ptr bfd_tell (bfd *);
467 extern int bfd_flush (bfd *);
468 extern int bfd_stat (bfd *, struct stat *);
524 (bfd *abfd);
530 (bfd *, unsigned long, bfd_boolean, flagword, bfd_boolean, bfd_vma,
580 (bfd * abfd);
582 (bfd *abfd, bfd_vma gp_value);
584 (bfd *abfd, unsigned long gprmask, unsigned long fprmask,
587 (bfd *output_bfd, struct ecoff_debug_info *output_debug,
590 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
593 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
594 const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
598 (void *handle, bfd *output_bfd, struct ecoff_debug_info *output_debug,
599 const struct ecoff_debug_swap *output_swap, bfd *input_bfd,
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,
626 bfd *by;
645 (bfd *, struct bfd_link_info *, const char *, bfd_boolean,
648 (bfd *, struct bfd_link_info *);
650 (bfd *, struct bfd_link_needed_list **);
651 extern bfd_boolean bfd_elf_stack_segment_size (bfd *, struct bfd_link_info *,
654 (bfd *, const char *, const char *, const char *, const char *, const char *,
657 (bfd *, struct bfd_link_info *);
659 (bfd *, const char *);
661 (bfd *);
663 (bfd *, enum dynamic_lib_link_class);
665 (bfd *);
667 (bfd *, struct bfd_link_info *);
669 (bfd *, struct bfd_link_info *);
677 (bfd *abfd);
687 (bfd *abfd, void *phdrs);
689 /* Create a new BFD as if by bfd_openr. Rather than opening a file,
695 the file headers (and hence BFD's idea of each section's VMA) put
701 failure. TEMPL must be a BFD for a target with the word size and
703 extern bfd *bfd_elf_bfd_from_remote_memory
704 (bfd *templ, bfd_vma ehdr_vma, bfd_size_type size, bfd_vma *loadbasep,
709 (bfd *, struct bfd_link_info *);
712 _bfd_nearby_section (bfd *, struct bfd_section *, bfd_vma);
715 (bfd *, struct bfd_link_info *);
722 (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *,
728 (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *,
732 (bfd *, struct bfd_link_info *, struct bfd_section *, struct bfd_section *,
738 (bfd *, struct bfd_link_info *);
740 (bfd *, struct bfd_link_info *, const char *);
742 (bfd *, struct bfd_link_info *, struct bfd_section **,
748 (bfd *, struct bfd_link_info *);
750 (bfd *, struct bfd_link_info *);
752 (bfd *, struct bfd_link_info *);
764 /* The actual window used by BFD. Small user-requested read-only
779 (bfd *, file_ptr, bfd_size_type, bfd_window *, bfd_boolean);
784 (bfd *, const char *, const char **, const char **);
786 (struct bfd_link_info *, bfd *, const char *);
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 **);
838 (bfd *);
841 (bfd *, struct bfd_link_info *);
844 (bfd *, struct bfd_link_info *);
847 (bfd *, struct bfd_link_info *);
850 (bfd *, struct bfd_link_info *);
857 (bfd *, struct bfd_link_info *, int);
860 (bfd *, struct bfd_link_info *);
867 (bfd *, struct bfd_link_info *, int);
870 (bfd *, struct bfd_link_info *);
877 (bfd *, struct bfd_link_info *);
880 (bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix,
884 (bfd *, struct bfd_link_info *);
887 (bfd *, struct bfd_link_info *);
905 (bfd *, bfd *);
908 (bfd *, const char *);
911 (bfd *, const char *);
915 (bfd *, struct bfd_link_info *);
919 (bfdbfd *, struct bfd_link_info *, bfd_signed_vma,
941 (bfd *);
944 (bfd *);
947 (bfd *, struct bfd_link_info *, int, int, int, int, int);
950 (bfd *, struct bfd_link_info *, int, int, int, int, int);
962 (bfd *, struct bfd_link_info *);
966 (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
973 (bfd *, struct bfd_link_info *);
977 (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
993 (bfd *, bfd_vma);
1020 (bfd *, struct bfd_section *);