6 IMPORTANT! If you put extra tabs/spaces in these macro definitions,
7 you will screw up the layout where they are used in case expressions!
9 (This is cpp-dependent, of course)
11 ** Convenience macros for writing the native-code generator **
15 #define FAST_REG_NO FAST_INT
17 #include "../../includes/platform.h"
21 #undef sparc_TARGET_ARCH
22 #undef sunos4_TARGET_OS
23 #undef i386_TARGET_ARCH
24 #define i386_TARGET_ARCH 1
25 #undef linuxaout_TARGET_OS
26 #define linuxaout_TARGET_OS 1
30 #undef sparc_TARGET_ARCH
31 #undef sunos4_TARGET_OS
32 #undef alpha_TARGET_ARCH
33 #define alpha_TARGET_ARCH 1
37 # define STOLEN_X86_REGS 4
38 -- HACK: go for the max
40 #include "../../includes/MachRegs.h"
43 # define BYTES_PER_WORD 8
44 # define BYTES_PER_WORD_STR "8"
46 # include "../../includes/alpha-dec-osf1.h"
50 # define BYTES_PER_WORD 4
51 # define BYTES_PER_WORD_STR "4"
53 # if linuxaout_TARGET_OS
54 # include "../../includes/i386-unknown-linuxaout.h"
57 # include "../../includes/i386-unknown-linux.h"
59 # if freebsd_TARGET_OS
60 # include "../../includes/i386-unknown-freebsd.h"
63 # include "../../includes/i386-unknown-netbsd.h"
66 # include "../../includes/i386-unknown-bsdi.h"
68 # if solaris2_TARGET_OS
69 # include "../../includes/i386-unknown-solaris2.h"
74 # define BYTES_PER_WORD 4
75 # define BYTES_PER_WORD_STR "4"
78 # include "../../includes/sparc-sun-sunos4.h"
80 # if solaris2_TARGET_OS
81 # include "../../includes/sparc-sun-solaris2.h"
85 ---------------------------------------------
88 # define IF_ARCH_alpha(x,y) x
90 # define IF_ARCH_alpha(x,y) y
93 ---------------------------------------------
96 # define IF_ARCH_i386(x,y) x
98 # define IF_ARCH_i386(x,y) y
100 -- - - - - - - - - - - - - - - - - - - - - -
101 #if freebsd_TARGET_OS
102 # define IF_OS_freebsd(x,y) x
104 # define IF_OS_freebsd(x,y) y
106 -- - - - - - - - - - - - - - - - - - - - - -
108 # define IF_OS_netbsd(x,y) x
110 # define IF_OS_netbsd(x,y) y
112 -- - - - - - - - - - - - - - - - - - - - - -
114 # define IF_OS_linux(x,y) x
116 # define IF_OS_linux(x,y) y
118 -- - - - - - - - - - - - - - - - - - - - - -
119 #if linuxaout_TARGET_OS
120 # define IF_OS_linuxaout(x,y) x
122 # define IF_OS_linuxaout(x,y) y
124 -- - - - - - - - - - - - - - - - - - - - - -
126 # define IF_OS_bsdi(x,y) x
128 # define IF_OS_bsdi(x,y) y
130 ---------------------------------------------
131 #if sparc_TARGET_ARCH
132 # define IF_ARCH_sparc(x,y) x
134 # define IF_ARCH_sparc(x,y) y
136 -- - - - - - - - - - - - - - - - - - - - - -
138 # define IF_OS_sunos4(x,y) x
140 # define IF_OS_sunos4(x,y) y
142 -- - - - - - - - - - - - - - - - - - - - - -
143 -- NB: this will catch i386-*-solaris2, too
144 #if solaris2_TARGET_OS
145 # define IF_OS_solaris2(x,y) x
147 # define IF_OS_solaris2(x,y) y
149 ---------------------------------------------