comparison lwasm/lwasm.h @ 261:c79b3c88adbc 2.x

Added --depend option to generate a list of dependencies
author lost
date Sat, 26 Dec 2009 08:24:35 +0000
parents e27279180a73
children
comparison
equal deleted inserted replaced
260:1bdb4e256fc9 261:c79b3c88adbc
200 int inmacro; // are we currently in a macro? 200 int inmacro; // are we currently in a macro?
201 int macroex; // current depth of macro expansion 201 int macroex; // current depth of macro expansion
202 int nextcontext; // next context number 202 int nextcontext; // next context number
203 int skiplines; // number of lines to skip 203 int skiplines; // number of lines to skip
204 int instruct; // are we currently in a structure def? 204 int instruct; // are we currently in a structure def?
205 205 int deptrack; // are we doing dependency tracking?
206
206 // items used only for the "object" target 207 // items used only for the "object" target
207 sectiontab_t *sections; // pointer to section table 208 sectiontab_t *sections; // pointer to section table
208 sectiontab_t *csect; // current section - NULL if not in one 209 sectiontab_t *csect; // current section - NULL if not in one
209 210
210 // only 6809 ops? 211 // only 6809 ops?
217 int nextdeps; // number forced external deps 218 int nextdeps; // number forced external deps
218 char **extdeps; // external dependencies 219 char **extdeps; // external dependencies
219 220
220 char **includedirs; // include path 221 char **includedirs; // include path
221 int nincludedirs; // number of entries in include path 222 int nincludedirs; // number of entries in include path
223
224 int nincfiles; // number of included files
225 char **incfiles; // included files
222 } asmstate_t; 226 } asmstate_t;
223 227
224 // do not rewrite XXX,r to ,r if XXX evaluates to 0 228 // do not rewrite XXX,r to ,r if XXX evaluates to 0
225 #define PRAGMA_NOINDEX0TONONE 1 229 #define PRAGMA_NOINDEX0TONONE 1
226 // any undefined symbols are considered external 230 // any undefined symbols are considered external