aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/memmove_s390x.s
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2019-05-08 13:59:48 -0400
committerRuss Cox <rsc@golang.org>2019-05-09 21:13:22 +0000
commit49f62af790c02c389d34a24227a17ddd4b4db94a (patch)
treee86c484a2cf0b20b88a89ce1a682e4a0727274a8 /src/runtime/memmove_s390x.s
parent1ea76443ba1825f03e187157b3f58560c52609b9 (diff)
downloadgo-49f62af790c02c389d34a24227a17ddd4b4db94a.tar.gz
go-49f62af790c02c389d34a24227a17ddd4b4db94a.zip
runtime: fix vet complaints for linux/arm64, linux/mips*, linux/ppc64*, linux/s390x
Working toward making the tree vet-safe instead of having so many exceptions in cmd/vet/all/whitelist. This CL makes "go vet -unsafeptr=false runtime" happy for these GOOS/GOARCHes, except for an unresolved complaint on mips/mipsle that is a bug in vet, while keeping "GO_BUILDER_NAME=misc-vetall go tool dist test" happy too. For #31916. Change-Id: I6ef7e982a2fdbbfbc22cee876ca37ac54d8109e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/176102 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/memmove_s390x.s')
-rw-r--r--src/runtime/memmove_s390x.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/memmove_s390x.s b/src/runtime/memmove_s390x.s
index 94d8be5a47..4ce98b0a95 100644
--- a/src/runtime/memmove_s390x.s
+++ b/src/runtime/memmove_s390x.s
@@ -66,7 +66,7 @@ forwards_fast:
forwards_small:
CMPBEQ R5, $0, done
ADD $-1, R5
- EXRL $runtime·memmove_s390x_exrl_mvc(SB), R5
+ EXRL $memmove_exrl_mvc<>(SB), R5
RET
move0to3:
@@ -182,7 +182,7 @@ done:
RET
// DO NOT CALL - target for exrl (execute relative long) instruction.
-TEXT runtime·memmove_s390x_exrl_mvc(SB),NOSPLIT|NOFRAME,$0-0
+TEXT memmove_exrl_mvc<>(SB),NOSPLIT|NOFRAME,$0-0
MVC $1, 0(R4), 0(R6)
MOVD R0, 0(R0)
RET