comparison leo-obj/tool/globals.c @ 130:87b82398a08b

leo-obj project subtree started, tiobjd tool moved into it
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 06 Apr 2014 22:14:39 +0000
parents ticoff/globals.c@10f3fbff5e97
children
comparison
equal deleted inserted replaced
129:597143ba1c37 130:87b82398a08b
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;
17
18 struct internal_scnhdr *sections;
19 struct internal_syment **symtab;