1
0
mirror of https://github.com/golang/go synced 2024-09-25 11:10:13 -06: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