Pristine Ack-5.5
[Ack-5.5.git] / mach / sun3 / ce / mach.h
1 #define BYTES_REVERSED
2 #define WORDS_REVERSED
3
4 #define ONE_BYTE        int
5 #define TWO_BYTES       int
6 #define FOUR_BYTES      long
7
8 #define EM_WSIZE        4
9 #define EM_PSIZE        4
10 #define EM_BSIZE        8
11
12 #define BSS_INIT        0
13
14 #define NAME_FMT        "_%s"
15 #define DNAM_FMT        "_%s"
16 #define DLB_FMT         "I_%ld"
17 #define ILB_FMT         "I%x_%lx"
18 #define HOL_FMT         "hol%d"
19
20 #define ALIGN_FMT               ".align\n"
21
22 #define BYTE_FMT                ".data1 %ld\n"
23 #define WORD_FMT                ".data2 %ld\n"
24 #define LONG_FMT                ".data4 %ld\n"
25 #define BSS_FMT                 ".space %ld\n"
26
27 #define SEGTXT_FMT              ".sect .text\n"
28 #define SEGDAT_FMT              ".sect .data\n"
29 #define SEGBSS_FMT              ".sect .bss\n"
30
31 #define SYMBOL_DEF_FMT          "%s :\n"
32 #define GLOBAL_FMT              ".extern %s\n"
33 #define LOCAL_FMT               ""
34
35 #define RELOC1_FMT              ".data1 %s + %ld\n"
36 #define RELOC2_FMT              ".data2 %s + %ld\n"
37 #define RELOC4_FMT              ".data4 %s + %ld\n"
38
39 #define GENLAB  'I'             /* compiler-generated labels start with ... */
40
41
42
43 #define small( x)       ( 1 <= (x) && (x) <= 8)
44
45 #ifndef DEBUG
46 #define arg_error(s, i)
47 #endif