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