diff options
| author | Russ Cox <rsc@golang.org> | 2019-05-08 11:44:15 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2019-05-09 21:13:18 +0000 |
| commit | 6ed2ec4aa5ea6c34b1e3d42b7995c81ab74a27c4 (patch) | |
| tree | cfa786127653271c1b4d3aff1c4d5cf0a2c76696 /src/runtime/sys_linux_mips64x.s | |
| parent | cd03664f82a53dbe20d0b828189158ba3863039c (diff) | |
| download | go-6ed2ec4aa5ea6c34b1e3d42b7995c81ab74a27c4.tar.xz | |
runtime: fix vet complaints for linux/386
Working toward making the tree vet-safe instead of having
so many exceptions in cmd/vet/all/whitelist.
This CL makes "GOOS=linux GOARCH=386 go vet -unsafeptr=false runtime" happy,
while keeping "GO_BUILDER_NAME=misc-vetall go tool dist test" happy too.
For #31916.
Change-Id: I3e5586a7ff6e359357350d0602c2259493280ded
Reviewed-on: https://go-review.googlesource.com/c/go/+/176099
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/sys_linux_mips64x.s')
| -rw-r--r-- | src/runtime/sys_linux_mips64x.s | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/runtime/sys_linux_mips64x.s b/src/runtime/sys_linux_mips64x.s index c45703d228..33ed1050c2 100644 --- a/src/runtime/sys_linux_mips64x.s +++ b/src/runtime/sys_linux_mips64x.s @@ -462,3 +462,18 @@ TEXT runtime·sbrk0(SB),NOSPLIT|NOFRAME,$0-8 SYSCALL MOVV R2, ret+0(FP) RET + +TEXT runtime·access(SB),$0-20 + MOVV R0, 2(R0) // unimplemented, only needed for android; declared in stubs_linux.go + MOVW R0, ret+16(FP) // for vet + RET + +TEXT runtime·connect(SB),$0-28 + MOVV R0, 2(R0) // unimplemented, only needed for android; declared in stubs_linux.go + MOVW R0, ret+24(FP) // for vet + RET + +TEXT runtime·socket(SB),$0-20 + MOVV R0, 2(R0) // unimplemented, only needed for android; declared in stubs_linux.go + MOVW R0, ret+16(FP) // for vet + RET |
