aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_plan9_amd64.s
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2016-08-09 20:05:41 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2016-08-22 19:49:08 +0000
commit5abfc97e84eef1fe5c5782eb8047cb911560ddb7 (patch)
tree95f49d5bd7c3617e1d9300a34d174ab80f6c5542 /src/runtime/sys_plan9_amd64.s
parente80376ca6b1f3c4cbc11639d998c0c83787f9247 (diff)
downloadgo-5abfc97e84eef1fe5c5782eb8047cb911560ddb7.tar.gz
go-5abfc97e84eef1fe5c5782eb8047cb911560ddb7.zip
runtime: use correct MOV for plan9 brk_ ret value
Updates #11041 Change-Id: I78f8d48f00cfbb451e37c868cc472ef06ea0fd95 Reviewed-on: https://go-review.googlesource.com/27491 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/sys_plan9_amd64.s')
-rw-r--r--src/runtime/sys_plan9_amd64.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_plan9_amd64.s b/src/runtime/sys_plan9_amd64.s
index 1492ef2fed..c18aecaa26 100644
--- a/src/runtime/sys_plan9_amd64.s
+++ b/src/runtime/sys_plan9_amd64.s
@@ -65,7 +65,7 @@ TEXT runtime·exits(SB),NOSPLIT,$0
TEXT runtime·brk_(SB),NOSPLIT,$0
MOVQ $24, BP
SYSCALL
- MOVQ AX, ret+8(FP)
+ MOVL AX, ret+8(FP)
RET
TEXT runtime·sleep(SB),NOSPLIT,$0