mirror of
https://github.com/golang/go
synced 2024-11-18 16:04:44 -07:00
cmd/vet/all: add mips and mipsle
Change-Id: I689b2e8e214561350f88fa4e20c8f34cf69dc6a7 Reviewed-on: https://go-review.googlesource.com/37301 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
8ccd007f24
commit
84a855e547
@ -347,6 +347,8 @@ var archAsmX = map[string]string{
|
||||
"android": "linux",
|
||||
"mips64": "mips64x",
|
||||
"mips64le": "mips64x",
|
||||
"mips": "mipsx",
|
||||
"mipsle": "mipsx",
|
||||
"ppc64": "ppc64x",
|
||||
"ppc64le": "ppc64x",
|
||||
}
|
||||
|
7
src/cmd/vet/all/whitelist/mips.txt
Normal file
7
src/cmd/vet/all/whitelist/mips.txt
Normal file
@ -0,0 +1,7 @@
|
||||
// mips64-specific vet whitelist. See readme.txt for details.
|
||||
|
||||
// Work around if-def'd code. Will be fixed by golang.org/issue/17544.
|
||||
runtime/sys_linux_mipsx.s: [mips] walltime: invalid offset sec_lo+0(FP); expected sec_lo+4(FP)
|
||||
runtime/sys_linux_mipsx.s: [mips] walltime: invalid offset sec_hi+4(FP); expected sec_hi+0(FP)
|
||||
runtime/sys_linux_mipsx.s: [mips] nanotime: invalid offset ret_lo+0(FP); expected ret_lo+4(FP)
|
||||
runtime/sys_linux_mipsx.s: [mips] nanotime: invalid offset ret_hi+4(FP); expected ret_hi+0(FP)
|
7
src/cmd/vet/all/whitelist/mipsle.txt
Normal file
7
src/cmd/vet/all/whitelist/mipsle.txt
Normal file
@ -0,0 +1,7 @@
|
||||
// mips64-specific vet whitelist. See readme.txt for details.
|
||||
|
||||
// Work around if-def'd code. Will be fixed by golang.org/issue/17544.
|
||||
runtime/sys_linux_mipsx.s: [mipsle] walltime: invalid offset sec_lo+4(FP); expected sec_lo+0(FP)
|
||||
runtime/sys_linux_mipsx.s: [mipsle] walltime: invalid offset sec_hi+0(FP); expected sec_hi+4(FP)
|
||||
runtime/sys_linux_mipsx.s: [mipsle] nanotime: invalid offset ret_lo+4(FP); expected ret_lo+0(FP)
|
||||
runtime/sys_linux_mipsx.s: [mipsle] nanotime: invalid offset ret_hi+0(FP); expected ret_hi+4(FP)
|
11
src/cmd/vet/all/whitelist/mipsx.txt
Normal file
11
src/cmd/vet/all/whitelist/mipsx.txt
Normal file
@ -0,0 +1,11 @@
|
||||
// mips64-specific vet whitelist. See readme.txt for details.
|
||||
|
||||
reflect/asm_mipsx.s: [GOARCH] makeFuncStub: use of 8(R29) points beyond argument frame
|
||||
reflect/asm_mipsx.s: [GOARCH] methodValueCall: use of 8(R29) points beyond argument frame
|
||||
runtime/asm_mipsx.s: [GOARCH] abort: function abort missing Go declaration
|
||||
runtime/tls_mipsx.s: [GOARCH] save_g: function save_g missing Go declaration
|
||||
runtime/tls_mipsx.s: [GOARCH] load_g: function load_g missing Go declaration
|
||||
runtime/asm_mipsx.s: [GOARCH] cannot check cross-package assembly function: Compare is in package bytes
|
||||
runtime/sys_linux_mipsx.s: [GOARCH] clone: 12(R29) should be mp+8(FP)
|
||||
runtime/sys_linux_mipsx.s: [GOARCH] clone: 4(R29) should be flags+0(FP)
|
||||
runtime/sys_linux_mipsx.s: [GOARCH] clone: 8(R29) should be stk+4(FP)
|
Loading…
Reference in New Issue
Block a user