aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/duff_ppc64x.s
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2019-05-08 11:44:15 -0400
committerRuss Cox <rsc@golang.org>2019-05-09 21:13:18 +0000
commit6ed2ec4aa5ea6c34b1e3d42b7995c81ab74a27c4 (patch)
treecfa786127653271c1b4d3aff1c4d5cf0a2c76696 /src/runtime/duff_ppc64x.s
parentcd03664f82a53dbe20d0b828189158ba3863039c (diff)
downloadgo-6ed2ec4aa5ea6c34b1e3d42b7995c81ab74a27c4.tar.gz
go-6ed2ec4aa5ea6c34b1e3d42b7995c81ab74a27c4.zip
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/duff_ppc64x.s')
-rw-r--r--src/runtime/duff_ppc64x.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/duff_ppc64x.s b/src/runtime/duff_ppc64x.s
index b4bb9e7dbe..0c62d0afe9 100644
--- a/src/runtime/duff_ppc64x.s
+++ b/src/runtime/duff_ppc64x.s
@@ -138,3 +138,6 @@ TEXT runtime·duffzero(SB), NOSPLIT|NOFRAME, $0-0
RET
// TODO: Implement runtime·duffcopy.
+TEXT runtime·duffcopy(SB),NOSPLIT|NOFRAME,$0-0
+ MOVD R0, 0(R0)
+ RET