Back to index

cell-binutils  2.17cvs20070401
go32exe.h
Go to the documentation of this file.
00001 /* COFF information for PC running go32.
00002 
00003    Copyright 2001 Free Software Foundation, Inc.
00004 
00005    This program is free software; you can redistribute it and/or modify
00006    it under the terms of the GNU General Public License as published by
00007    the Free Software Foundation; either version 2 of the License, or
00008    (at your option) any later version.
00009    
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014    
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the Free Software
00017    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00018 
00019 #define STUBSIZE 2048
00020 
00021 struct external_filehdr_go32_exe
00022   {
00023     char stub[STUBSIZE];/* the stub to load the image   */
00024                      /* the standard COFF header     */
00025     char f_magic[2]; /* magic number                    */
00026     char f_nscns[2]; /* number of sections              */
00027     char f_timdat[4];       /* time & date stamp        */
00028     char f_symptr[4];       /* file pointer to symtab   */
00029     char f_nsyms[4]; /* number of symtab entries */
00030     char f_opthdr[2];       /* sizeof(optional hdr)            */
00031     char f_flags[2]; /* flags                    */
00032   };
00033 
00034 #undef FILHDR
00035 #define       FILHDR struct external_filehdr_go32_exe
00036 #undef FILHSZ
00037 #define       FILHSZ STUBSIZE+20