view leo-obj/tool/globals.h @ 335:10d62a3bfeec

frbl2test: L command addr and nwords need to be sent in LE byte order
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 07 Mar 2020 05:56:32 +0000
parents 87b82398a08b
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;