view ticoff/globals.h @ 118:193926ccd1ec

tiobjd: better handling of section-relative relocs
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 03 Apr 2014 07:47:03 +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;