mirror of
https://github.com/golang/go
synced 2024-11-24 23:07:56 -07:00
runtime: fix wrong syscall numbers on freebsd/386, openbsd/386
R=golang-dev, jsing CC=golang-dev https://golang.org/cl/12876044
This commit is contained in:
parent
cb3b292201
commit
ff86d222be
@ -350,7 +350,7 @@ TEXT runtime·sigprocmask(SB),NOSPLIT,$16
|
||||
|
||||
// int32 runtime·kqueue(void);
|
||||
TEXT runtime·kqueue(SB),NOSPLIT,$0
|
||||
MOVL $269, AX
|
||||
MOVL $362, AX
|
||||
INT $0x80
|
||||
JAE 2(PC)
|
||||
NEGL AX
|
||||
@ -358,7 +358,7 @@ TEXT runtime·kqueue(SB),NOSPLIT,$0
|
||||
|
||||
// int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout);
|
||||
TEXT runtime·kevent(SB),NOSPLIT,$0
|
||||
MOVL $270, AX
|
||||
MOVL $363, AX
|
||||
INT $0x80
|
||||
JAE 2(PC)
|
||||
NEGL AX
|
||||
|
@ -354,7 +354,7 @@ TEXT runtime·sysctl(SB),NOSPLIT,$28
|
||||
|
||||
// int32 runtime·kqueue(void);
|
||||
TEXT runtime·kqueue(SB),NOSPLIT,$0
|
||||
MOVL $362, AX
|
||||
MOVL $269, AX
|
||||
INT $0x80
|
||||
JAE 2(PC)
|
||||
NEGL AX
|
||||
@ -362,7 +362,7 @@ TEXT runtime·kqueue(SB),NOSPLIT,$0
|
||||
|
||||
// int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout);
|
||||
TEXT runtime·kevent(SB),NOSPLIT,$0
|
||||
MOVL $363, AX
|
||||
MOVL $270, AX
|
||||
INT $0x80
|
||||
JAE 2(PC)
|
||||
NEGL AX
|
||||
|
Loading…
Reference in New Issue
Block a user