1988-08-18 14:33:57 +00:00
|
|
|
#define BYTES_REVERSED
|
|
|
|
#define WORDS_REVERSED
|
|
|
|
|
1988-10-20 14:33:55 +00:00
|
|
|
#define ONE_BYTE int
|
|
|
|
#define TWO_BYTES int
|
1988-08-18 14:33:57 +00:00
|
|
|
#define FOUR_BYTES long
|
|
|
|
|
|
|
|
#define EM_WSIZE 4
|
|
|
|
#define EM_PSIZE 4
|
|
|
|
#define EM_BSIZE 8
|
|
|
|
|
|
|
|
#define BSS_INIT 0
|
|
|
|
|
|
|
|
#define NAME_FMT "_%s"
|
|
|
|
#define DNAM_FMT "_%s"
|
1988-10-20 14:33:55 +00:00
|
|
|
#define DLB_FMT "I_%ld"
|
1988-09-07 14:47:46 +00:00
|
|
|
#define ILB_FMT "I%x_%lx"
|
1988-08-18 14:33:57 +00:00
|
|
|
#define HOL_FMT "hol%d"
|
|
|
|
|
1988-10-20 14:33:55 +00:00
|
|
|
#define GENLAB 'I'
|
|
|
|
|
1988-08-18 14:33:57 +00:00
|
|
|
#define ALIGN_FMT ".align\n"
|
|
|
|
|
|
|
|
#define BYTE_FMT ".data1 %ld\n"
|
|
|
|
#define WORD_FMT ".data2 %ld\n"
|
|
|
|
#define LONG_FMT ".data4 %ld\n"
|
|
|
|
#define BSS_FMT ".space %ld\n"
|
|
|
|
|
|
|
|
#define SEGTXT_FMT ".sect .text\n"
|
|
|
|
#define SEGDAT_FMT ".sect .data\n"
|
|
|
|
#define SEGBSS_FMT ".sect .bss\n"
|
|
|
|
|
|
|
|
#define SYMBOL_DEF_FMT "%s :\n"
|
|
|
|
#define GLOBAL_FMT ".extern %s\n"
|
|
|
|
#define LOCAL_FMT ""
|
|
|
|
|
|
|
|
#define RELOC1_FMT ".data1 %s + %ld\n"
|
|
|
|
#define RELOC2_FMT ".data2 %s + %ld\n"
|
|
|
|
#define RELOC4_FMT ".data4 %s + %ld\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define small( x) ( 1 <= (x) && (x) <= 8)
|