plan9: replace "mksyscall.pl" with Go program

Modify unix/mksyscall.go to support plan9.
This does not generate any git diff besides the
command name in comments of generated files and
addition of +build tags.

Updates golang/go#27779

Change-Id: I359a80d1c08837d92a7095e5235867c29a2d2a60
Reviewed-on: https://go-review.googlesource.com/c/156157
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
Visweswara R
2019-01-07 07:01:47 +00:00
committed by Tobias Klauser
parent 1775db3f06
commit cb59ee3660
5 changed files with 403 additions and 319 deletions
+4 -2
View File
@@ -1,5 +1,7 @@
// mksyscall.pl -l32 -plan9 syscall_plan9.go
// Code generated by the command above; DO NOT EDIT.
// go run mksyscall.go -l32 -plan9 -tags plan9,amd64 syscall_plan9.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build plan9,amd64
package plan9