diff leo-obj/tool/globals.h @ 130:87b82398a08b

leo-obj project subtree started, tiobjd tool moved into it
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 06 Apr 2014 22:14:39 +0000
parents ticoff/globals.h@10f3fbff5e97
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/leo-obj/tool/globals.h	Sun Apr 06 22:14:39 2014 +0000
@@ -0,0 +1,17 @@
+/*
+ * 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;