diff ticoff/globals.c @ 70:6799a5c57a49

tiobjd started
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 22 Mar 2014 02:29:22 +0000
parents
children c15cd3d695c0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ticoff/globals.c	Sat Mar 22 02:29:22 2014 +0000
@@ -0,0 +1,17 @@
+/*
+ * Definitions of global vars for the tiobjd program.
+ */
+
+#include <sys/types.h>
+#include "filestruct.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;