1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:50:21 -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 MOVL $0, 24(SP) // r2
NEGL AX NEGL AX
MOVL AX, 28(SP) // errno MOVL AX, 28(SP) // errno
CALL runtime·exitsyscall(SB)
RET RET
ok1: ok1:
MOVL AX, 20(SP) // r1 MOVL AX, 20(SP) // r1