1984-05-17 14:14:29 +00:00
|
|
|
/* $Header$ */
|
|
|
|
|
1984-05-18 13:04:34 +00:00
|
|
|
#define IDL 100
|
1984-05-17 13:42:36 +00:00
|
|
|
|
|
|
|
struct sym {
|
|
|
|
sym_p s_next;
|
|
|
|
offset *s_rom;
|
|
|
|
short s_flags;
|
|
|
|
short s_frag;
|
|
|
|
offset s_value;
|
1984-05-18 13:04:34 +00:00
|
|
|
char s_name[2]; /* to be extended up to IDL */
|
1984-05-17 13:42:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* contents of .s_flags */
|
|
|
|
#define SYMPRO 000001
|
|
|
|
#define SYMGLOBAL 000002
|
|
|
|
#define SYMKNOWN 000004
|
|
|
|
#define SYMOUT 000010
|
|
|
|
#define SYMDEF 000020
|
|
|
|
|
|
|
|
#define NSYMHASH 127
|
|
|
|
extern sym_p symhash[NSYMHASH],symlookup();
|
|
|
|
#define OCCURRING 0
|
|
|
|
#define DEFINING 1
|
|
|
|
#define NOTHING 2
|