view leo-obj/tool/globals.c @ 197:cf3b4cb3d212

bootrom.notes typo fix (courtesy of pfalcon <pmiscml@gmail.com>)
author Michael Spacefalcon <falcon@ivan.Harhan.ORG>
date Thu, 16 Apr 2015 04:12:48 +0000
parents 87b82398a08b
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;