db/smdb.py: add a try catch block printing the return states
[smatch.git] / target-nds32.c
blobe3ed2e52088376f456d0e7d569a1f8155cfe8728
1 #include "symbol.h"
2 #include "target.h"
3 #include "machine.h"
6 static void init_nds32(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 = &uint_ctype;
16 static void predefine_nds32(const struct target *self)
18 predefine("__NDS32__", 1, "1");
19 predefine("__nds32__", 1, "1");
21 predefine_weak("__NDS32_E%c__", arch_big_endian ? 'B' : 'L');
24 const struct target target_nds32 = {
25 .mach = MACH_NDS32,
26 .bitness = ARCH_LP32,
27 .big_endian = false,
29 .bits_in_longdouble = 64,
31 .init = init_nds32,
32 .predefine = predefine_nds32,