unix: provide linux/sparc64 assembly for syscalls While the linux/sparc64 port is not yet upstream, the rest of the package already has linux/sparc64 support; without this assembly it does not compile there at all. Add it in the same shape as the other linux architectures: jump to package syscall's implementations where they exist, and trap directly for the two NoError variants. On SPARC the trap is ta 0x6d, with the syscall number in %g1 and the arguments in %o0-%o5. Updates golang/go#55000 Change-Id: I793d8fcc7b0d5fd60dddf76588181a842a15e898 GitHub-Last-Rev: cd72e3d509b0518adba953e3fc20c637daaa8fe4 GitHub-Pull-Request: golang/sys#292 Reviewed-on: https://go-review.googlesource.com/c/sys/+/823604 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Kirill Kolyshkin <kolyshkin@gmail.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/sys.
The main issue tracker for the sys repository is located at https://go.dev/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.