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
= {
29 .bits_in_longdouble
= 64,
32 .predefine
= predefine_nds32
,