1 #include "symbol.h" 2 #include "target.h" 3 #include "machine.h" 4 5 init_h8300(const struct target * self)6static void init_h8300(const struct target *self) 7 { 8 intptr_ctype = &int_ctype; 9 uintptr_ctype = &uint_ctype; 10 ssize_t_ctype = &long_ctype; 11 size_t_ctype = &ulong_ctype; 12 wchar_ctype = &ushort_ctype; 13 14 fast16_ctype = &int_ctype; 15 ufast16_ctype = &uint_ctype; 16 fast32_ctype = &int_ctype; 17 ufast32_ctype = &uint_ctype; 18 } 19 predefine_h8300(const struct target * self)20static void predefine_h8300(const struct target *self) 21 { 22 predefine("__H8300H__", 1, "1"); 23 } 24 25 const struct target target_h8300 = { 26 .mach = MACH_H8300, 27 .bitness = ARCH_LP32, 28 .big_endian = true, 29 30 .bits_in_longdouble = 64, 31 32 .init = init_h8300, 33 .predefine = predefine_h8300, 34 }; 35