linux/riscv64: fill libc_linux_riscv64.go
This MR fills almost all functions with panic(todo(""))
in libc_linux_riscv64.go
except for Xutime
and Xalarm
. See the comments in file for detail.
go build
and go test
are successful on linux/riscv64
and linux/amd64
. Updates #16 (closed).
Also, there are function implements should be common to all linux ports (in libc_linux_riscv64.go
, marked as from {,z}syscall_linux.go
). They could be moved from libc_linux_*.go
to libc_linux.go
to reduce the future effort when porting to a new architecture.