mirror of
https://github.com/golang/go
synced 2024-11-12 04:50:21 -07:00
runtime: fix 386 assembly for syscall.naclWrite
It was using the wrong offset and returned random values making "runoutput" compiler tests crash. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/76250043
This commit is contained in:
parent
88f84b3e41
commit
6436df0d81
@ -35,7 +35,7 @@ TEXT syscall·naclWrite(SB), NOSPLIT, $12-16
|
||||
MOVL SI, 4(SP)
|
||||
MOVL DX, 8(SP)
|
||||
CALL runtime·write(SB)
|
||||
MOVL AX, ret+12(FP)
|
||||
MOVL AX, ret+16(FP)
|
||||
RET
|
||||
|
||||
TEXT runtime·write(SB),NOSPLIT,$0
|
||||
|
Loading…
Reference in New Issue
Block a user