FreeCalypso > hg > freecalypso-reveng
annotate ticoff/globals.c @ 116:5f4141ee175b
tiobjd: retain the original symtab order for symbols at the same position
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 03 Apr 2014 07:00:08 +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; |