atomic_dec_test_path: hack around assignments
[smatch.git] / target-xtensa.c
blob3620b4a311ccdc7ba542b6d616ddfbff14139a49
1 #include "symbol.h"
2 #include "target.h"
3 #include "machine.h"
6 static void init_xtensa(const struct target *self)
8 fast16_ctype = &int_ctype;
9 ufast16_ctype = &uint_ctype;
10 fast32_ctype = &int_ctype;
11 ufast32_ctype = &uint_ctype;
13 wchar_ctype = &long_ctype;
16 static void predefine_xtensa(const struct target *self)
18 predefine("__XTENSA__", 1, "1");
19 predefine("__xtensa__", 1, "1");
22 const struct target target_xtensa = {
23 .mach = MACH_XTENSA,
24 .bitness = ARCH_LP32,
25 .big_endian = true,
27 .bits_in_longdouble = 64,
29 .init = init_xtensa,
30 .predefine = predefine_xtensa,