diff options
author | Josh Bleecher Snyder <josharian@gmail.com> | 2016-07-11 16:05:57 -0700 |
---|---|---|
committer | Josh Bleecher Snyder <josharian@gmail.com> | 2016-08-25 18:52:31 +0000 |
commit | 71ab9fa312f8266379dbb358b9ee9303cde7bd6b (patch) | |
tree | e7d1a1343a70fb7bf3c26b5d2b5df99623b66515 /src/runtime/sys_linux_arm64.s | |
parent | 6af7639ae147689cbabd06287bf4ff15a4dfd896 (diff) | |
download | go-71ab9fa312f8266379dbb358b9ee9303cde7bd6b.tar.gz go-71ab9fa312f8266379dbb358b9ee9303cde7bd6b.zip |
all: fix assembly vet issues
Add missing function prototypes.
Fix function prototypes.
Use FP references instead of SP references.
Fix variable names.
Update comments.
Clean up whitespace. (Not for vet.)
All fairly minor fixes to make vet happy.
Updates #11041
Change-Id: Ifab2cdf235ff61cdc226ab1d84b8467b5ac9446c
Reviewed-on: https://go-review.googlesource.com/27713
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_arm64.s')
-rw-r--r-- | src/runtime/sys_linux_arm64.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/sys_linux_arm64.s b/src/runtime/sys_linux_arm64.s index 1bee8477ed..52c51f6579 100644 --- a/src/runtime/sys_linux_arm64.s +++ b/src/runtime/sys_linux_arm64.s @@ -319,8 +319,8 @@ TEXT runtime·clone(SB),NOSPLIT,$-8 MOVD stk+8(FP), R1 // Copy mp, gp, fn off parent stack for use by child. - MOVD mm+16(FP), R10 - MOVD gg+24(FP), R11 + MOVD mp+16(FP), R10 + MOVD gp+24(FP), R11 MOVD fn+32(FP), R12 MOVD R10, -8(R1) |