FreeCalypso > hg > freecalypso-reveng
annotate ticoff/globals.c @ 82:c20dc315a9d4
tiobjd: beginning of reloc handling
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 26 Mar 2014 06:00:07 +0000 |
parents | 10f3fbff5e97 |
children |
rev | line source |
---|---|
70 | 1 /* |
2 * Definitions of global vars for the tiobjd program. | |
3 */ | |
4 | |
5 #include <sys/types.h> | |
6 | |
7 char *objfilename; | |
8 u_char *filemap; | |
9 size_t objfile_tot_size; | |
10 | |
11 struct external_filehdr *filehdr_struct; | |
12 struct external_scnhdr *sections_raw; | |
13 unsigned nsections; | |
14 struct external_syment *symtab_raw; | |
15 unsigned nsymtab; | |
16 unsigned strtab_offset; | |
71
c15cd3d695c0
tiobjd: successful parsing of the section header table
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
17 |
c15cd3d695c0
tiobjd: successful parsing of the section header table
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
18 struct internal_scnhdr *sections; |
73
10f3fbff5e97
tiobjd: symbol table parsing implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
71
diff
changeset
|
19 struct internal_syment **symtab; |