blob: cbec76237d48edaa1cbe6180228bbdbdec2a7d91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "symbol.h"
#include "target.h"
#include "machine.h"
const struct target target_riscv32 = {
.mach = MACH_RISCV32,
.bitness = ARCH_LP32,
.big_endian = 0,
.unsigned_char = 1,
.target_64bit = &target_riscv64,
};
const struct target target_riscv64 = {
.mach = MACH_RISCV64,
.bitness = ARCH_LP64,
.big_endian = 0,
.unsigned_char = 1,
.target_32bit = &target_riscv32,
};
|