• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "symbol.h"
2 #include "target.h"
3 #include "machine.h"
4 
5 
init_m68k(const struct target * self)6 static void init_m68k(const struct target *self)
7 {
8 	fast16_ctype = &int_ctype;
9 	ufast16_ctype = &uint_ctype;
10 	fast32_ctype = &int_ctype;
11 	ufast32_ctype = &uint_ctype;
12 }
13 
predefine_m68k(const struct target * self)14 static void predefine_m68k(const struct target *self)
15 {
16 	predefine("__m68k__", 1, "1");
17 }
18 
19 const struct target target_m68k = {
20 	.mach = MACH_M68K,
21 	.bitness = ARCH_LP32,
22 	.big_endian = 1,
23 	.unsigned_char = 0,
24 
25 	.wchar = &long_ctype,
26 
27 	.bits_in_longdouble = 96,
28 	.max_fp_alignment = 4,
29 
30 	.init = init_m68k,
31 	.predefine = predefine_m68k,
32 };
33