Commit ff86d222 authored by Mikio Hara's avatar Mikio Hara

runtime: fix wrong syscall numbers on freebsd/386, openbsd/386

R=golang-dev, jsing
CC=golang-dev
https://golang.org/cl/12876044
parent cb3b2922
...@@ -350,7 +350,7 @@ TEXT runtime·sigprocmask(SB),NOSPLIT,$16 ...@@ -350,7 +350,7 @@ TEXT runtime·sigprocmask(SB),NOSPLIT,$16
// int32 runtime·kqueue(void); // int32 runtime·kqueue(void);
TEXT runtime·kqueue(SB),NOSPLIT,$0 TEXT runtime·kqueue(SB),NOSPLIT,$0
MOVL $269, AX MOVL $362, AX
INT $0x80 INT $0x80
JAE 2(PC) JAE 2(PC)
NEGL AX NEGL AX
...@@ -358,7 +358,7 @@ TEXT runtime·kqueue(SB),NOSPLIT,$0 ...@@ -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); // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout);
TEXT runtime·kevent(SB),NOSPLIT,$0 TEXT runtime·kevent(SB),NOSPLIT,$0
MOVL $270, AX MOVL $363, AX
INT $0x80 INT $0x80
JAE 2(PC) JAE 2(PC)
NEGL AX NEGL AX
......
...@@ -354,7 +354,7 @@ TEXT runtime·sysctl(SB),NOSPLIT,$28 ...@@ -354,7 +354,7 @@ TEXT runtime·sysctl(SB),NOSPLIT,$28
// int32 runtime·kqueue(void); // int32 runtime·kqueue(void);
TEXT runtime·kqueue(SB),NOSPLIT,$0 TEXT runtime·kqueue(SB),NOSPLIT,$0
MOVL $362, AX MOVL $269, AX
INT $0x80 INT $0x80
JAE 2(PC) JAE 2(PC)
NEGL AX NEGL AX
...@@ -362,7 +362,7 @@ TEXT runtime·kqueue(SB),NOSPLIT,$0 ...@@ -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); // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout);
TEXT runtime·kevent(SB),NOSPLIT,$0 TEXT runtime·kevent(SB),NOSPLIT,$0
MOVL $363, AX MOVL $270, AX
INT $0x80 INT $0x80
JAE 2(PC) JAE 2(PC)
NEGL AX NEGL AX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment