aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-23 16:02:09 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-23 16:02:09 +0000
commit9872a49c27a0cced505d4d94d543c7d0b647186e (patch)
treef656c6bd7a6bc9bd72abeabc8a1124ba72d4675f /bfd/libcoff.h
parenta37cc0c05c5ee0e72a14a09c547555621371ef1d (diff)
downloadgdb-9872a49c27a0cced505d4d94d543c7d0b647186e.zip
gdb-9872a49c27a0cced505d4d94d543c7d0b647186e.tar.gz
gdb-9872a49c27a0cced505d4d94d543c7d0b647186e.tar.bz2
*** empty log message ***
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index 46f5a78..ca498f2 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -23,6 +23,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Object file tdata; access macros */
#define obj_icof(bfd) ((struct icofdata *) ((bfd)->tdata))
+#define coff_data(bfd) ((struct icofdata *) ((bfd)->tdata))
#define exec_hdr(bfd) (obj_icof(bfd)->hdr)
#define obj_symbols(bfd) (obj_icof(bfd)->symbols)
#define obj_sym_filepos(bfd) (obj_icof(bfd)->sym_filepos)
@@ -39,7 +40,8 @@ typedef struct {
struct lineno_cache_entry *lineno;
} coff_symbol_type;
-struct icofdata {
+typedef struct icofdata
+{
struct aouthdr *hdr; /* exec file header */
coff_symbol_type *symbols; /* symtab for input bfd */
unsigned int *conversion_table;
@@ -52,10 +54,10 @@ struct icofdata {
struct lineno *raw_linenos;
unsigned int raw_syment_count;
char *string_table;
+ unsigned short flags;
/* These are only valid once writing has begun */
long int relocbase;
-
-};
+} coff_data_type;
/* We cast the address of the first element of a asymbol to ensure that the
* macro is only ever applied to an asymbol. */