aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/target-ppc.c
blob: e867d9fec29958e6d11c4dcc4549c138b146c7fc (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
#include "symbol.h"
#include "target.h"
#include "machine.h"


const struct target target_ppc32 = {
	.mach = MACH_PPC32,
	.bitness = ARCH_LP32,
	.big_endian = 1,
	.unsigned_char = 1,

	.wchar = &long_ctype,

	.target_64bit = &target_ppc64,
};


const struct target target_ppc64 = {
	.mach = MACH_PPC64,
	.bitness = ARCH_LP64,
	.big_endian = 1,
	.unsigned_char = 1,

	.target_32bit = &target_ppc32,
};