go32exe.h 1.4 KB

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