aboutsummaryrefslogtreecommitdiff
path: root/include/coff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-07-22 22:19:32 +0000
committerIan Lance Taylor <ian@airs.com>1997-07-22 22:19:32 +0000
commit35743787d5d0e0fae01cebe67eb7264930e7bbcb (patch)
tree64d9178781f43b982a0c2369de1be49dfcda6c4d /include/coff
parent5452eb0b9501314835e20e7aeaa48c3f67697d2c (diff)
downloadgdb-35743787d5d0e0fae01cebe67eb7264930e7bbcb.zip
gdb-35743787d5d0e0fae01cebe67eb7264930e7bbcb.tar.gz
gdb-35743787d5d0e0fae01cebe67eb7264930e7bbcb.tar.bz2
Tue Jul 22 18:18:58 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* go32exe.h: New file.
Diffstat (limited to 'include/coff')
-rw-r--r--include/coff/.Sanitize1
-rw-r--r--include/coff/go32exe.h20
2 files changed, 21 insertions, 0 deletions
diff --git a/include/coff/.Sanitize b/include/coff/.Sanitize
index 9b1e8d2..5dda18d 100644
--- a/include/coff/.Sanitize
+++ b/include/coff/.Sanitize
@@ -38,6 +38,7 @@ apollo.h
arm.h
aux-coff.h
ecoff.h
+go32exe.h
h8300.h
h8500.h
i386.h
diff --git a/include/coff/go32exe.h b/include/coff/go32exe.h
new file mode 100644
index 0000000..5bd26c1
--- /dev/null
+++ b/include/coff/go32exe.h
@@ -0,0 +1,20 @@
+/* COFF information for PC running go32. */
+
+#define STUBSIZE 2048
+
+struct external_filehdr_go32_exe {
+ char stub[STUBSIZE]; /* the stub to load the image */
+ /* the standard COFF header */
+ char f_magic[2]; /* magic number */
+ char f_nscns[2]; /* number of sections */
+ char f_timdat[4]; /* time & date stamp */
+ char f_symptr[4]; /* file pointer to symtab */
+ char f_nsyms[4]; /* number of symtab entries */
+ char f_opthdr[2]; /* sizeof(optional hdr) */
+ char f_flags[2]; /* flags */
+};
+
+#undef FILHDR
+#define FILHDR struct external_filehdr_go32_exe
+#undef FILHSZ
+#define FILHSZ STUBSIZE+20