URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
38 |
julius |
/* COFF information for PC running go32.
|
2 |
|
|
|
3 |
|
|
Copyright 2001 Free Software Foundation, Inc.
|
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
|
7 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
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
|
17 |
|
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
|
18 |
|
|
|
19 |
|
|
#define STUBSIZE 2048
|
20 |
|
|
|
21 |
|
|
struct external_filehdr_go32_exe
|
22 |
|
|
{
|
23 |
|
|
char stub[STUBSIZE];/* the stub to load the image */
|
24 |
|
|
/* the standard COFF header */
|
25 |
|
|
char f_magic[2]; /* magic number */
|
26 |
|
|
char f_nscns[2]; /* number of sections */
|
27 |
|
|
char f_timdat[4]; /* time & date stamp */
|
28 |
|
|
char f_symptr[4]; /* file pointer to symtab */
|
29 |
|
|
char f_nsyms[4]; /* number of symtab entries */
|
30 |
|
|
char f_opthdr[2]; /* sizeof(optional hdr) */
|
31 |
|
|
char f_flags[2]; /* flags */
|
32 |
|
|
};
|
33 |
|
|
|
34 |
|
|
#undef FILHDR
|
35 |
|
|
#define FILHDR struct external_filehdr_go32_exe
|
36 |
|
|
#undef FILHSZ
|
37 |
|
|
#define FILHSZ STUBSIZE+20
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.