extra: set no limits mark_sub_members_gone()
[smatch.git] / target-microblaze.c
blob3a4c3d58d77f60622d73df94409c8b2d81242d70
1 #include "symbol.h"
2 #include "target.h"
3 #include "machine.h"
6 static void init_microblaze(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_microblaze(const struct target *self)
16 predefine("__MICROBLAZE__", 1, "1");
17 predefine("__microblaze__", 1, "1");
19 if (arch_big_endian)
20 predefine("__MICROBLAZEEB__", 1, "1");
21 else
22 predefine("__MICROBLAZEEL__", 1, "1");
25 const struct target target_microblaze = {
26 .mach = MACH_MICROBLAZE,
27 .bitness = ARCH_LP32,
28 .big_endian = true,
30 .bits_in_longdouble = 64,
32 .init = init_microblaze,
33 .predefine = predefine_microblaze,