aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/riscv.json
diff options
context:
space:
mode:
authorYannis Huber <[email protected]>2020-06-16 15:25:51 +0200
committerRon Evans <[email protected]>2020-07-08 00:21:59 +0200
commitccc604d2e0570d14651c6aa36161479db4133b07 (patch)
tree68aedba94614e41274d3fc225141c3d5d8cafad7 /targets/riscv.json
parentdfab1aa717da88dfcdf8206a51b00681b0bd4a18 (diff)
downloadtinygo-ccc604d2e0570d14651c6aa36161479db4133b07.tar.gz
tinygo-ccc604d2e0570d14651c6aa36161479db4133b07.zip
riscv: fix offset in 64bit scheduler
Also keep common start.S file for 64 and 32 bit architectures.
Diffstat (limited to 'targets/riscv.json')
-rw-r--r--targets/riscv.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/targets/riscv.json b/targets/riscv.json
index d78026b34..a2d4aaeb6 100644
--- a/targets/riscv.json
+++ b/targets/riscv.json
@@ -16,5 +16,8 @@
"ldflags": [
"--gc-sections"
],
+ "extra-files": [
+ "src/device/riscv/start.S"
+ ],
"gdb": "riscv64-unknown-elf-gdb"
}