Home | History | Annotate | Download | only in bfd

Lines Matching full:bfd

1 /* Generic BFD support for file formats.
5 This file is part of BFD, the Binary File Descriptor library.
27 A format is a BFD concept of high level file contents type. The
28 formats supported by BFD are:
32 The BFD may contain data, symbols, relocations and debug info.
36 The BFD contains other BFDs and an optional index.
40 The BFD contains the result of an executable core dump.
47 #include "bfd.h"
58 bfd_boolean bfd_check_format (bfd *abfd, bfd_format format);
61 Verify if the file attached to the BFD @var{abfd} is compatible
65 If the BFD has been set to a specific target before the
92 bfd_check_format (bfd *abfd, bfd_format format)
111 fields in the bfd on successfully recognizing the object. This
113 many points. On failure, the bfd is supposed to be restored to its
115 subset of the bfd state works in practice. This function stores
119 bfd_preserve_save (bfd *abfd, struct bfd_preserve *preserve)
136 /* Clear out a subset of BFD state. */
139 bfd_reinit (bfd *abfd)
147 /* Restores bfd state saved by bfd_preserve_save. */
150 bfd_preserve_restore (bfd *abfd, struct bfd_preserve *preserve)
168 /* Called when the bfd state saved by bfd_preserve_save is no longer
172 bfd_preserve_finish (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_preserve *preserve)
188 (bfd *abfd, bfd_format format, char ***matching);
203 bfd_check_format_matches (bfd *abfd, bfd_format format, char ***matching)
288 /* If we already tried a match, the bfd is modified and may
293 /* Change BFD's target temporarily. */
379 matches is a target in config.bfd targ_defvec or targ_selvecs,
419 really shouldn't iterate on live bfd's. Note that saving the
420 whole bfd and restoring it would be even worse; the first thing
421 you notice is that the cached bfd file position gets out of sync. */
445 because it will interfere with creation of BFD sections. */
495 bfd_boolean bfd_set_format (bfd *abfd, bfd_format format);
498 This function sets the file format of the BFD @var{abfd} to the
499 format @var{format}. If the target set in the BFD does not
500 support the format requested, the format is invalid, or the BFD
505 bfd_set_format (bfd *abfd, bfd_format format)