Home | History | Annotate | Download | only in bfd

Lines Matching refs:bfd

4    Run "make headers" in your build bfd/ to regenerate.  */
6 /* libbfd.h -- Declarations used by bfd library *implementation*.
13 This file is part of BFD, the Binary File Descriptor library.
47 #define set_tdata(bfd, v) ((bfd)->tdata.any = (v))
49 /* If BFD_IN_MEMORY is set for a BFD, then the iostream fields points
56 /* Buffer holding contents of BFD. */
74 bfd *archive_head; /* Only interesting in output routines. */
91 #define bfd_ardata(bfd) ((bfd)->tdata.aout_ar_data)
93 /* Goes in bfd's arelt_data slot */
105 #define arelt_size(bfd) (((struct areltdata *)((bfd)->arelt_data))->parsed_size)
126 /* These routines allocate and free things on the BFD's objalloc. */
129 (bfd *, bfd_size_type, bfd_size_type);
131 (bfd *, bfd_size_type, bfd_size_type);
133 (bfd *, void *);
135 bfd * _bfd_create_empty_archive_element_shell
136 (bfd *obfd);
137 bfd * _bfd_look_for_bfd_in_cache
138 (bfd *, file_ptr);
140 (bfd *, file_ptr, bfd *);
142 (bfd *abfd);
144 (bfd *arch, char *elt_name);
146 (bfd *abfd);
148 (bfd *abfd);
150 (bfd *abfd);
154 (bfd *abfd);
156 (bfd *, bfd_boolean, char **, bfd_size_type *);
158 (bfd *abfd);
160 (bfd *, unsigned int elength);
161 bfd *_bfd_get_elt_at_filepos
162 (bfd *archive, file_ptr filepos);
163 extern bfd *_bfd_generic_get_elt_at_index
164 (bfd *, symindex);
165 bfd * _bfd_new_bfd
168 (bfd *);
171 (bfd *ignore);
173 (bfd *ignore);
175 (bfd *ignore);
177 (bfd *ignore);
179 (bfd *ignore);
181 (bfd *ignore);
183 (bfd *ignore);
185 (bfd *ignore);
187 bfd *_bfd_new_bfd_contained_in
188 (bfd *);
190 (bfd *abfd);
193 (bfd *abfd, const char *filename, char *hdr);
195 (bfd *abfd, const char *filename, char *hdr);
197 (bfd *abfd, const char *filename, char *hdr);
200 (bfd *arch, unsigned int elength, struct orl *map, unsigned int orl_count,
204 (bfd *arch, unsigned int elength, struct orl *map, unsigned int orl_count,
208 (bfd *);
215 (bfd *, const char *);
218 (bfd *, bfd *);
221 (bfd *, bfd *);
223 bfd * bfd_generic_openr_next_archived_file
224 (bfd *archive, bfd *last_file);
227 (bfd *, struct stat *);
240 (bfd *);
243 (bfd *, asection *);
245 (bfd *, asection *, void *, file_ptr, bfd_size_type);
247 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type);
253 ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
255 ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
257 ((bfd_boolean (*) (bfd *, flagword)) bfd_true)
259 ((bfd_boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true)
261 ((bfd_boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true)
263 ((bfd_boolean (*) (bfd *, bfd *)) bfd_true)
265 ((bfd_boolean (*) (bfd *, void *)) bfd_true)
268 (bfd *, asection *, bfd *, asection *, struct bfd_link_info *);
274 (bfd *);
276 (bfd *);
278 (bfd *, bfd *);
280 (bfd *);
288 ((bfd_boolean (*) (bfd *, char **, bfd_size_type *, const char **)) \
291 ((void (*) (bfd *, const char *, char *)) bfd_void)
293 ((bfd_boolean (*) (bfd *, unsigned int, struct orl *, unsigned int, int)) \
297 ((bfd_boolean (*) (bfd *, bfd *)) bfd_false)
299 ((bfd *(*) (bfd *, bfd *)) bfd_nullvoidptr)
301 ((bfd *(*) (bfd *, symindex)) bfd_nullvoidptr)
312 (bfd *, char **, bfd_size_type *, const char **);
323 (bfd *);
332 (bfd *, char **, bfd_size_type *, const char **);
351 (bfd *, char **, bfd_size_type *, const char **);
368 extern bfd_boolean _bfd_vms_lib_write_archive_contents (bfd *arch);
376 extern bfd *_bfd_vms_lib_openr_next_archived_file (bfd *, bfd *);
377 extern bfd *_bfd_vms_lib_get_elt_at_index (bfd *, symindex);
378 extern int _bfd_vms_lib_generic_stat_arch_elt (bfd *, struct stat *);
383 extern symindex _bfd_vms_lib_find_symbol (bfd *, const char *);
384 extern bfd *_bfd_vms_lib_get_imagelib_file (bfd *);
385 extern const bfd_target *_bfd_vms_lib_alpha_archive_p (bfd *abfd);
386 extern const bfd_target *_bfd_vms_lib_ia64_archive_p (bfd *abfd);
387 extern bfd_boolean _bfd_vms_lib_alpha_mkarchive (bfd *abfd);
388 extern bfd_boolean _bfd_vms_lib_ia64_mkarchive (bfd *abfd);
395 ((long (*) (bfd *, asymbol **)) _bfd_n1)
398 ((void (*) (bfd *, void *, asymbol *, bfd_print_symbol_type)) bfd_void)
400 ((void (*) (bfd *, asymbol *, symbol_info *)) bfd_void)
402 ((bfd_boolean (*) (bfd *, const char *)) bfd_false)
404 ((bfd_boolean (*) (bfd *, asymbol *)) bfd_false)
406 ((alent *(*) (bfd *, asymbol *)) bfd_nullvoidptr)
408 ((bfd_boolean (*) (bfd *, asymbol **, asection *, bfd_vma, \
413 ((bfd_boolean (*) (bfd *, asymbol **, asymbol *, \
417 ((bfd_boolean (*) (bfd *, const char **, const char **, unsigned int *)) \
420 ((asymbol *(*) (bfd *, void *, unsigned long)) bfd_nullvoidptr)
422 ((long (*) (bfd *, bfd_boolean, void **, unsigned int *)) _bfd_n1)
424 ((asymbol *(*) (bfd *, bfd_boolean, const void *, asymbol *)) \
430 extern long _bfd_norelocs_get_reloc_upper_bound (bfd *, asection *);
431 bfd *, asection *,
434 ((reloc_howto_type *(*) (bfd *, bfd_reloc_code_real_type)) bfd_nullvoidptr)
436 ((reloc_howto_type *(*) (bfd *, const char *)) bfd_nullvoidptr)
442 ((bfd_boolean (*) (bfd *, enum bfd_architecture, unsigned long)) \
445 ((bfd_boolean (*) (bfd *, asection *, const void *, file_ptr, bfd_size_type)) \
453 (bfd *, asection *, const void *, file_ptr, bfd_size_type);
459 ((int (*) (bfd *, struct bfd_link_info *)) bfd_0)
461 ((bfd_byte *(*) (bfd *, struct bfd_link_info *, struct bfd_link_order *, \
466 (bfd *, asection *, struct bfd_link_info *, bfd_boolean *)) \
469 ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \
475 ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) \
478 ((bfd_boolean (*) (bfd *, const struct bfd_section *)) \
481 ((bfd_boolean (*) (bfd *, struct bfd_section *)) \
484 ((struct bfd_link_hash_table *(*) (bfd *)) bfd_nullvoidptr)
486 ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false)
490 ((void (*) (bfd *, struct bfd_link_hash_entry *, \
493 ((bfd_boolean (*) (bfd *, struct bfd_link_info *)) bfd_false)
495 ((bfd_boolean (*) (bfd *, struct bfd_section *)) bfd_false)
497 ((bfd_boolean (*) (bfd *, asection *, \
500 ((bfd_boolean (*) (bfd *, struct bfd_link_info *, \
509 ((long (*) (bfd *, asymbol **)) _bfd_n1)
511 ((long (*) (bfd *, long, asymbol **, long, asymbol **, asymbol **)) _bfd_n1)
514 ((long (*) (bfd *, arelent **, asymbol **)) _bfd_n1)
520 (bfd *, const char *);
524 (bfd *, bfd_boolean, void **, unsigned int *);
526 (bfd *, bfd_boolean, const void *, asymbol *);
530 (bfd *, asymbol **, asection *, bfd_vma, bfd_boolean *,
535 (bfd *, asymbol **, asection *, bfd_vma,
551 (bfd *, asymbol **, asymbol *, asection *, bfd_vma,
557 (bfd *, const char **, const char **, unsigned int *, void **);
561 (bfd *, bfd *, const struct dwarf_debug_section *, asymbol **, void **,
566 (bfd *, void **);
579 (struct bfd_link_hash_table *, bfd *,
587 (bfd *);
591 (bfd *);
595 (bfd *, struct bfd_link_info *);
601 (bfd *, struct bfd_link_info *);
605 (bfd *, struct bfd_link_info *,
606 bfd_boolean (*) (bfd *, struct bfd_link_info *,
615 (struct bfd_link_info *, bfd *, const char *name, flagword,
625 (bfd *, struct bfd_link_hash_entry *, struct bfd_link_hash_entry *);
629 (bfd *, struct bfd_link_info *);
632 (bfd *, struct bfd_section *);
635 (bfd *, asection *, struct bfd_link_info *);
639 (bfd *, struct bfd_link_info *, asection *, struct bfd_link_order *);
643 (bfd *, struct bfd_link_info *, asection *, struct bfd_link_order *);
651 (reloc_howto_type *, bfd *, asection *, bfd_byte *,
656 (reloc_howto_type *, bfd *, bfd_vma, bfd_byte *);
659 extern void _bfd_clear_contents (reloc_howto_type *howto, bfd *input_bfd,
665 (bfd *, struct stab_info *, asection *, asection *, void **,
670 (bfd *, asection *, void *, bfd_boolean (*) (bfd_vma, void *), void *);
675 (bfd *, struct stab_info *, asection *, void **, bfd_byte *);
680 (bfd *, struct stab_info *);
691 (bfd *, void **, asection *, void **);
696 (bfd *, struct bfd_link_info *, void *, void (*) (bfd *, asection *));
701 (bfd *, asection *, void *);
706 (bfd *, asection **, void *, bfd_vma);
734 (bfd *, struct bfd_strtab_hash *);
738 (bfd *, bfd *);
745 simultaneously. However an output bfd will never be open for
775 /* Manipulate a system FILE but using BFD's "file_ptr", rather than
797 (bfd *, asection *, bfd_vma, struct ecoff_debug_info * const,
808 (bfd *);
810 (bfd *, bfd_vma);
817 (bfd *, asection *, bfd_byte *,
818 bfd_boolean (*) (bfd *, asection *, void *, bfd_byte *, bfd_vma),
846 extern bfd_vma read_unsigned_leb128 (bfd *, bfd_byte *, unsigned int *);
847 extern bfd_signed_vma read_signed_leb128 (bfd *, bfd_byte *, unsigned int *);
850 bfd_boolean bfd_write_bigendian_4byte_int (bfd *, unsigned int);
863 file_ptr (*bread) (struct bfd *abfd, void *ptr, file_ptr nbytes);
864 file_ptr (*bwrite) (struct bfd *abfd, const void *ptr,
868 file_ptr (*btell) (struct bfd *abfd);
871 int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
872 int (*bclose) (struct bfd *abfd);
873 int (*bflush) (struct bfd *abfd);
874 int (*bstat) (struct bfd *abfd, struct stat *sb);
881 void *(*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,
895 bfd_boolean bfd_cache_init (bfd *abfd);
897 bfd_boolean bfd_cache_close (bfd *abfd);
899 FILE* bfd_open_file (bfd *abfd);
2964 (bfd *abfd, bfd_reloc_code_real_type code);
2967 (bfd *abfd,
2973 (bfd *, struct bfd_link_info *);
2979 (bfd *, struct bfd_link_info *);
2982 (bfd *abfd,
2992 (bfd *abfd, enum bfd_architecture arch, unsigned long mach);