view ticoff/globals.h @ 120:4d8dfdbd2ea1

tiobjd: auto-translation of section-relative relocs made more conservative
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Apr 2014 05:45:22 +0000
parents 10f3fbff5e97
children
line wrap: on
line source

/*
 * extern declarations of global vars for the tiobjd program.
 */

extern char *objfilename;
extern u_char *filemap;
extern size_t objfile_tot_size;

extern struct external_filehdr *filehdr_struct;
extern struct external_scnhdr *sections_raw;
extern unsigned nsections;
extern struct external_syment *symtab_raw;
extern unsigned nsymtab;
extern unsigned strtab_offset;

extern struct internal_scnhdr *sections;
extern struct internal_syment **symtab;