aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-10 19:33:37 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-10 19:33:37 +0000
commite5b919b168780f68a70efc886a3d2fab15113f28 (patch)
treeacc8d8d889ed5a0e14fbdc01f75f82aab3ae8538 /bfd/libcoff.h
parentaf773d1b0f242711062d964dd222d020e1f1af5b (diff)
downloadgdb-e5b919b168780f68a70efc886a3d2fab15113f28.zip
gdb-e5b919b168780f68a70efc886a3d2fab15113f28.tar.gz
gdb-e5b919b168780f68a70efc886a3d2fab15113f28.tar.bz2
Fixed all the places where there were problems with the size and
alignments of structures on disk and structures in memory. #ifed out all the code in coffswap.c, since it should be done using the target swap routines now.
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index 67b9c98..f439272 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -31,12 +31,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define obj_relocbase(bfd) (obj_icof(bfd)->relocbase)
#define obj_raw_syments(bfd) (obj_icof(bfd)->raw_syments)
#define obj_convert(bfd) (obj_icof(bfd)->conversion_table)
+#if CFILE_STUFF
#define obj_symbol_slew(bfd) (obj_icof(bfd)->symbol_index_slew)
+#else
+#define obj_symbol_slew(bfd) 0
+#endif
#define obj_string_table(bfd) (obj_icof(bfd)->string_table)
typedef struct {
asymbol symbol;
- struct syment *native;
+ struct internal_syment *native;
struct lineno_cache_entry *lineno;
} coff_symbol_type;
@@ -50,7 +54,7 @@ typedef struct icofdata
long symbol_index_slew; /* used during read to mark whether a
C_FILE symbol as been added. */
- struct syment *raw_syments;
+ struct internal_syment *raw_syments;
struct lineno *raw_linenos;
unsigned int raw_syment_count;
char *string_table;