aboutsummaryrefslogtreecommitdiff
path: root/include/coff/go32exe.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-05-03 07:29:06 +0000
committerRichard Henderson <rth@redhat.com>1999-05-03 07:29:06 +0000
commita3acbf46947e52ff596461a4cf6f539884c9dbbd (patch)
treeef93cefb82fdb4d8f2639e166e277474d9b2acab /include/coff/go32exe.h
downloadnewlib-a3acbf46947e52ff596461a4cf6f539884c9dbbd.zip
newlib-a3acbf46947e52ff596461a4cf6f539884c9dbbd.tar.gz
newlib-a3acbf46947e52ff596461a4cf6f539884c9dbbd.tar.bz2
19990502 sourceware importbinu_ss_19990502
Diffstat (limited to 'include/coff/go32exe.h')
-rw-r--r--include/coff/go32exe.h20
1 files changed, 20 insertions, 0 deletions
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