Commit | Line | Data |
---|---|---|
4f1d9bd8 NC |
1 | /* COFF information for PC running go32. |
2 | ||
219d1afa | 3 | Copyright (C) 2001-2018 Free Software Foundation, Inc. |
4f1d9bd8 NC |
4 | |
5 | This program is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
e4e42b45 | 7 | the Free Software Foundation; either version 3 of the License, or |
4f1d9bd8 NC |
8 | (at your option) any later version. |
9 | ||
10 | This program is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License | |
16 | along with this program; if not, write to the Free Software | |
e4e42b45 NC |
17 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
18 | MA 02110-1301, USA. */ | |
252b5132 | 19 | |
4f1d9bd8 NC |
20 | struct external_filehdr_go32_exe |
21 | { | |
9bf609ec | 22 | char stub[GO32_STUBSIZE]; /* the stub to load the image */ |
4f1d9bd8 NC |
23 | /* the standard COFF header */ |
24 | char f_magic[2]; /* magic number */ | |
25 | char f_nscns[2]; /* number of sections */ | |
26 | char f_timdat[4]; /* time & date stamp */ | |
27 | char f_symptr[4]; /* file pointer to symtab */ | |
28 | char f_nsyms[4]; /* number of symtab entries */ | |
29 | char f_opthdr[2]; /* sizeof(optional hdr) */ | |
30 | char f_flags[2]; /* flags */ | |
31 | }; | |
252b5132 RH |
32 | |
33 | #undef FILHDR | |
34 | #define FILHDR struct external_filehdr_go32_exe | |
35 | #undef FILHSZ | |
9bf609ec | 36 | #define FILHSZ GO32_STUBSIZE+20 |