Commit | Line | Data |
---|---|---|
35743787 ILT |
1 | /* COFF information for PC running go32. */ |
2 | ||
3 | #define STUBSIZE 2048 | |
4 | ||
5 | struct external_filehdr_go32_exe { | |
6 | char stub[STUBSIZE]; /* the stub to load the image */ | |
7 | /* the standard COFF header */ | |
8 | char f_magic[2]; /* magic number */ | |
9 | char f_nscns[2]; /* number of sections */ | |
10 | char f_timdat[4]; /* time & date stamp */ | |
11 | char f_symptr[4]; /* file pointer to symtab */ | |
12 | char f_nsyms[4]; /* number of symtab entries */ | |
13 | char f_opthdr[2]; /* sizeof(optional hdr) */ | |
14 | char f_flags[2]; /* flags */ | |
15 | }; | |
16 | ||
17 | #undef FILHDR | |
18 | #define FILHDR struct external_filehdr_go32_exe | |
19 | #undef FILHSZ | |
20 | #define FILHSZ STUBSIZE+20 |