xref: /DragonOS/kernel/src/arch/riscv64/riscv64gc-unknown-none-elf.json (revision 539ee3eaeb83834e020efbb7582ed5ce2e9646ce)
1{
2  "arch": "riscv64",
3  "code-model": "medium",
4  "cpu": "generic-rv64",
5  "crt-objects-fallback": "false",
6  "data-layout": "e-m:e-p:64:64-i64:64-i128:128-n32:64-S128",
7  "eh-frame-header": false,
8  "emit-debug-gdb-scripts": false,
9  "features": "+m,+a,+f,+d,+c",
10  "linker": "rust-lld",
11  "linker-flavor": "gnu-lld",
12  "llvm-abiname": "lp64d",
13  "llvm-target": "riscv64",
14  "max-atomic-width": 64,
15  "metadata": {
16    "description": "Bare RISC-V (RV64IMAFDC ISA)",
17    "host_tools": false,
18    "std": false,
19    "tier": 2
20  },
21  "panic-strategy": "abort",
22  "relocation-model": "static",
23  "supported-sanitizers": [
24    "shadow-call-stack",
25    "kernel-address"
26  ],
27  "target-pointer-width": "64"
28}
29