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/config.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 cygwin32_TARGET_OS
69 # include "../../includes/i386-unknown-cygwin32.h"
71 # if solaris2_TARGET_OS
72 # include "../../includes/i386-unknown-solaris2.h"
77 # define BYTES_PER_WORD 4
78 # define BYTES_PER_WORD_STR "4"
81 # include "../../includes/sparc-sun-sunos4.h"
83 # if solaris2_TARGET_OS
84 # include "../../includes/sparc-sun-solaris2.h"
88 ---------------------------------------------
91 # define IF_ARCH_alpha(x,y) x
93 # define IF_ARCH_alpha(x,y) y
96 ---------------------------------------------
99 # define IF_ARCH_i386(x,y) x
101 # define IF_ARCH_i386(x,y) y
103 -- - - - - - - - - - - - - - - - - - - - - -
104 #if freebsd_TARGET_OS
105 # define IF_OS_freebsd(x,y) x
107 # define IF_OS_freebsd(x,y) y
109 -- - - - - - - - - - - - - - - - - - - - - -
111 # define IF_OS_netbsd(x,y) x
113 # define IF_OS_netbsd(x,y) y
115 -- - - - - - - - - - - - - - - - - - - - - -
117 # define IF_OS_linux(x,y) x
119 # define IF_OS_linux(x,y) y
121 -- - - - - - - - - - - - - - - - - - - - - -
122 #if linuxaout_TARGET_OS
123 # define IF_OS_linuxaout(x,y) x
125 # define IF_OS_linuxaout(x,y) y
127 -- - - - - - - - - - - - - - - - - - - - - -
129 # define IF_OS_bsdi(x,y) x
131 # define IF_OS_bsdi(x,y) y
133 -- - - - - - - - - - - - - - - - - - - - - -
134 #if cygwin32_TARGET_OS
135 # define IF_OS_cygwin32(x,y) x
137 # define IF_OS_cygwin32(x,y) y
139 ---------------------------------------------
140 #if sparc_TARGET_ARCH
141 # define IF_ARCH_sparc(x,y) x
143 # define IF_ARCH_sparc(x,y) y
145 -- - - - - - - - - - - - - - - - - - - - - -
147 # define IF_OS_sunos4(x,y) x
149 # define IF_OS_sunos4(x,y) y
151 -- - - - - - - - - - - - - - - - - - - - - -
152 -- NB: this will catch i386-*-solaris2, too
153 #if solaris2_TARGET_OS
154 # define IF_OS_solaris2(x,y) x
156 # define IF_OS_solaris2(x,y) y
158 ---------------------------------------------