Tue Jul 22 18:18:58 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

* go32exe.h: New file.
This commit is contained in:
Ian Lance Taylor 1997-07-22 22:19:32 +00:00
parent 5452eb0b95
commit 35743787d5
2 changed files with 21 additions and 0 deletions

View File

@ -38,6 +38,7 @@ apollo.h
arm.h
aux-coff.h
ecoff.h
go32exe.h
h8300.h
h8500.h
i386.h

20
include/coff/go32exe.h Normal file
View File

@ -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