deref: fix inverted tests
[smatch.git] / target-m68k.c
blob0aed2eb362eb1d90c503524b55446a48f22ef41d
1 #include "symbol.h"
2 #include "target.h"
3 #include "machine.h"
6 static void init_m68k(const struct target *self)
8 fast16_ctype = &int_ctype;
9 ufast16_ctype = &uint_ctype;
10 fast32_ctype = &int_ctype;
11 ufast32_ctype = &uint_ctype;
14 static void predefine_m68k(const struct target *self)
16 predefine("__m68k__", 1, "1");
19 const struct target target_m68k = {
20 .mach = MACH_M68K,
21 .bitness = ARCH_LP32,
22 .big_endian = 1,
23 .unsigned_char = 0,
25 .wchar = &long_ctype,
27 .bits_in_longdouble = 96,
28 .max_fp_alignment = 4,
30 .init = init_m68k,
31 .predefine = predefine_m68k,