1987-11-25 14:03:48 +00:00
|
|
|
/* The global datastructures (see "data.c"). */
|
|
|
|
|
1987-11-20 10:41:03 +00:00
|
|
|
extern long cur_value();
|
1988-10-31 15:42:15 +00:00
|
|
|
extern long get4();
|
1987-11-20 10:41:03 +00:00
|
|
|
|
|
|
|
extern int cur_seg;
|
|
|
|
|
|
|
|
extern char *text, *data, *string;
|
|
|
|
extern int nname;
|
|
|
|
extern long nbss, size_text, size_data, size_reloc, size_symbol,
|
1988-10-20 13:06:10 +00:00
|
|
|
size_string, _text_cnt, _data_cnt;
|
1987-11-20 10:41:03 +00:00
|
|
|
|
|
|
|
extern char *text_area, *data_area, *string_area;
|
|
|
|
extern struct outrelo *reloc_info, *relo;
|
|
|
|
extern struct outname *symbol_table;
|
|
|
|
|
1988-10-31 15:42:15 +00:00
|
|
|
#define put1(buf, off, w) ((buf)[off] = (w))
|
|
|
|
#define get1(buf, off) ((buf)[off])
|