view ticoff/globals.c @ 123:5f9cc99930a8

tiobjd: handling of $CODE16 symbols at byte positions
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Apr 2014 08:12:29 +0000
parents 10f3fbff5e97
children
line wrap: on
line source

/*
 * Definitions of global vars for the tiobjd program.
 */

#include <sys/types.h>

char *objfilename;
u_char *filemap;
size_t objfile_tot_size;

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

struct internal_scnhdr *sections;
struct internal_syment **symtab;