aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/riscv64.json
diff options
context:
space:
mode:
authorYannis Huber <[email protected]>2020-07-01 23:26:33 +0200
committerRon Evans <[email protected]>2020-07-08 00:21:59 +0200
commit43a66b39ccf0f0206913cd4efce71f66bd103781 (patch)
tree8ed058b1b4bcf3e7820d8af19d8cc8f3b3657c71 /targets/riscv64.json
parent66b21b4c86eb1b4d0ba7a97d1c8efc9090669b0c (diff)
downloadtinygo-43a66b39ccf0f0206913cd4efce71f66bd103781.tar.gz
tinygo-43a66b39ccf0f0206913cd4efce71f66bd103781.zip
riscv: refactor assembly files to support RV64 and F extension
Diffstat (limited to 'targets/riscv64.json')
-rw-r--r--targets/riscv64.json7
1 files changed, 2 insertions, 5 deletions
diff --git a/targets/riscv64.json b/targets/riscv64.json
index 20c7f1baf..f73700c9c 100644
--- a/targets/riscv64.json
+++ b/targets/riscv64.json
@@ -5,13 +5,10 @@
"cflags": [
"--target=riscv64--none",
"-march=rv64gc",
- "-mabi=lp64"
+ "-mabi=lp64",
+ "-D=RV64"
],
"ldflags": [
"-melf64lriscv"
- ],
- "extra-files": [
- "src/runtime/scheduler_tinygoriscv64.S",
- "src/device/riscv/handleinterrupt64.S"
]
}