1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:00:09 -07:00

syscall: RawSyscall must not call exitsyscall

Fixes #405.

R=r
CC=golang-dev, hoisie
https://golang.org/cl/180056
This commit is contained in:
Russ Cox 2009-12-15 17:37:47 -08:00
parent 163ecdac1a
commit 69bed164a7

View File

@ -75,7 +75,6 @@ TEXT syscall·RawSyscall(SB),7,$0
MOVL $0, 24(SP) // r2
NEGL AX
MOVL AX, 28(SP) // errno
CALL runtime·exitsyscall(SB)
RET
ok1:
MOVL AX, 20(SP) // r1