aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-03 01:24:03 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-03 01:24:03 +0000
commitbf475b49916437a6f88611ee96f7de1eb6500227 (patch)
tree9695e5672a4b35ece23a462fa7a7de201c45374a /include
parent8ffd75c8a93075fb4a23bda7ae66e3b579038c6b (diff)
downloadgdb-bf475b49916437a6f88611ee96f7de1eb6500227.zip
gdb-bf475b49916437a6f88611ee96f7de1eb6500227.tar.gz
gdb-bf475b49916437a6f88611ee96f7de1eb6500227.tar.bz2
Make it limp for MIPS ECOFF, too.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/coff-i960.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/coff-i960.h b/include/coff-i960.h
index cac9d11..2c1877a 100755
--- a/include/coff-i960.h
+++ b/include/coff-i960.h
@@ -1,5 +1,8 @@
/*** coff information for 80960. Origins: Intel corp, natch. */
+/* This include file is also used for rudimentary ECOFF support on MIPS
+ machines. Such differences as are needed are #ifdef MIPS. */
+
/* NOTE: Tagentries (cf TAGBITS) are not used by the 960 */
/********************** FILE HEADER **********************/
@@ -85,6 +88,7 @@ typedef struct {
#define A_MAGIC5 (0437) /* (?) "system overlay, separated I&D" */
#define SASMAGIC (010000) /* (?) "Single Address Space" */
#define MASMAGIC (020000) /* (?) "Multiple (separate I/D) Addr. Spaces" */
+
typedef struct aouthdr {
short magic; /* type of file */
short vstamp; /* version stamp */
@@ -170,7 +174,10 @@ struct scnhdr {
unsigned short s_nreloc; /* number of relocation entries */
unsigned short s_nlnno; /* number of line number entries*/
long s_flags; /* flags */
+#ifndef MIPS
+ /* This field exists in Intel COFF, not in Mips ECOFF. */
unsigned long s_align; /* section alignment */
+#endif
};
/*