Skip to content

linux/riscv64: fill libc_linux_riscv64.go

Piggy requested to merge piggynl/cznic-libc:linux-riscv64-patch-1 into master

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.

Merge request reports