Skip to content

Commit 5abfc97

Browse files
committed
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 <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent e80376c commit 5abfc97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/sys_plan9_amd64.s

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ TEXT runtime·exits(SB),NOSPLIT,$0
6565
TEXT runtime·brk_(SB),NOSPLIT,$0
6666
MOVQ $24, BP
6767
SYSCALL
68-
MOVQ AX, ret+8(FP)
68+
MOVL AX, ret+8(FP)
6969
RET
7070

7171
TEXT runtime·sleep(SB),NOSPLIT,$0

0 commit comments

Comments
 (0)