view leo-obj/tool/globals.c @ 403:50c0fac9a4a8

compal/boot/c118-dfboot.disasm: new analysis
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jan 2023 00:54:33 +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;