2 * obj.h -- defs for dealing with object files
5 typedef enum Kind /* variable defs and references in obj */
7 aNone, /* we don't care about this prog */
8 aName, /* introduces a name */
9 aText, /* starts a function */
10 aData, /* references to a global object */
13 typedef struct Prog Prog;
15 struct Prog /* info from .$O files */
17 Kind kind; /* what kind of symbol */
18 char type; /* type of the symbol: ie, 'T', 'a', etc. */
19 char sym; /* index of symbol's name */
20 char *id; /* name for the symbol, if it introduces one */
21 uint sig; /* type signature for symbol */
25 void _offset(int, vlong);