risc-v: add support for 64-bit RISC-V CPUs

This commit is contained in:
Yannis Huber
2020-06-08 16:47:39 +02:00
committed by GitHub
parent d61d5d7ab1
commit 2396c22658
8 changed files with 100 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"inherits": ["riscv"],
"llvm-target": "riscv64--none",
"build-tags": ["tinygo.riscv64"],
"cflags": [
"--target=riscv64--none",
"-march=rv64gc",
"-mabi=lp64"
],
"ldflags": [
"-melf64lriscv"
]
}