1 /* This file must be included in all the files which use the backlibrary.
7 /* These routines are called very often, thus we turned them into macros. */
9 #define text1(b) {if (--text_cnt < 0) mem_text(); *text++ = b;}
10 #define con1(b) {if (--data_cnt < 0) mem_data(); *data++ = b;}
11 #define rom1(b) {if (--data_cnt < 0) mem_data(); *data++ = b;}
12 #define bss( n) ( nbss += n)
14 /* Macros to change interface names */
16 #define common B_common
23 #define close_back B_close_back
24 #define open_back B_open_back
25 #define end_back B_end_back
26 #define init_back B_init_back
27 #define extnd_pro B_ex_pro
28 #define extnd_start B_ex_start
29 #define extnd_name B_ex_name
30 #define extnd_dnam B_ex_dnam
31 #define extnd_dlb B_ex_dlb
32 #define extnd_ilb B_ex_ilb
33 #define extnd_hol B_ex_hol
34 #define extnd_part B_ex_part
35 #define extnd_cont B_ex_cont
36 #define extnd_main B_ex_main
40 #define save_label B_save_label
41 #define dump_label B_dump_label
42 #define align_word B_align_word
46 #define set_global_visible B_stglobvis
47 #define set_local_visible B_stlocvis
48 #define symbol_definition B_symdef
49 #define not_implemented B_not_implemented
52 /* Numbering of the segments and some global constants */
58 #define SEGHOL -1 /* does not exist */
60 #define swtxt() switchseg( SEGTXT)
62 #define switchseg(seg) if ((seg) != cur_seg) B_swtchsg(seg); else
65 #define ABSOLUTE !PC_REL
68 /* Initialize values. */
74 #define MAXSTRING 4096
76 extern char *extnd_name(), *extnd_dnam(), *extnd_dlb(), *extnd_ilb(),
77 *extnd_hol(), *extnd_ext(), *extnd_pro(), *extnd_start(),
78 *extnd_part(), *extnd_cont(), *extnd_main();