aboutsummaryrefslogtreecommitdiff
path: root/include/bfd.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-10 23:41:14 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-10 23:41:14 +0000
commit66d4e1bb88997032a543574f69f57c284181b39d (patch)
treea003a120dbdc5dcc6e264baadb918f829381105f /include/bfd.h
parentdf77307a2acd29c32e82587211a9742db40b35c9 (diff)
downloadgdb-66d4e1bb88997032a543574f69f57c284181b39d.zip
gdb-66d4e1bb88997032a543574f69f57c284181b39d.tar.gz
gdb-66d4e1bb88997032a543574f69f57c284181b39d.tar.bz2
Update for Sony News port and split of a.out into several variants.
Add write_contents to format-dependent vector.
Diffstat (limited to 'include/bfd.h')
-rw-r--r--include/bfd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/bfd.h b/include/bfd.h
index c157bc2..b398c44 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -416,6 +416,11 @@ typedef enum
#define BFD_SEND_FMT(bfd, message, arglist) \
(((bfd)->xvec->message[(int)((bfd)->format)]) arglist)
+/* This is the struct which defines the type of BFD this is. The
+ "xvec" member of the struct bfd itself points here. Each module
+ that implements access to a different target under BFD, defines
+ one of these. */
+
/* FIXME, these names should be rationalised with the names of the entry points
which call them. Too bad we can't have one macro to define them both! */
typedef struct bfd_target
@@ -458,7 +463,8 @@ typedef struct bfd_target
/* Format-dependent */
SDEF_FMT (struct bfd_target *, _bfd_check_format, (bfd *));/* file fmt or 0 */
- SDEF_FMT (boolean, _bfd_set_format, (bfd *)); /* make it an object file. */
+ SDEF_FMT (boolean, _bfd_set_format, (bfd *)); /* make it an object file */
+ SDEF_FMT (boolean, _bfd_write_contents, (bfd *)); /* write it out at close */
/* All these are defined in JUMP_TABLE */
/* Core files */