blob: db517ccb0f5c569089479fd59c823787c8ad57c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include "symbol.h"
#include "target.h"
#include "machine.h"
static void init_sh(const struct target *self)
{
int64_ctype = &llong_ctype;
uint64_ctype = &ullong_ctype;
wchar_ctype = &long_ctype;
}
static void predefine_sh(const struct target *self)
{
predefine_weak("__SH4__");
predefine_weak("__sh__");
}
const struct target target_sh = {
.mach = MACH_SH,
.bitness = ARCH_LP32,
.big_endian = false,
.bits_in_longdouble = 64,
.init = init_sh,
.predefine = predefine_sh,
};
|