mirror of
https://github.com/golang/go
synced 2024-11-21 20:24:50 -07:00
syscall: make Syscall6 pass 6th arg on linux/386
R=rsc CC=golang-dev https://golang.org/cl/4350043
This commit is contained in:
parent
a78a25a16b
commit
46137557c4
@ -34,7 +34,6 @@ ok:
|
||||
RET
|
||||
|
||||
// func Syscall6(trap uintptr, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr);
|
||||
// Actually Syscall5 but the rest of the code expects it to be named Syscall6.
|
||||
TEXT ·Syscall6(SB),7,$0
|
||||
CALL runtime·entersyscall(SB)
|
||||
MOVL 4(SP), AX // syscall entry
|
||||
@ -43,7 +42,7 @@ TEXT ·Syscall6(SB),7,$0
|
||||
MOVL 16(SP), DX
|
||||
MOVL 20(SP), SI
|
||||
MOVL 24(SP), DI
|
||||
// 28(SP) is ignored
|
||||
MOVL 28(SP), BP
|
||||
INT $0x80
|
||||
CMPL AX, $0xfffff001
|
||||
JLS ok6
|
||||
|
Loading…
Reference in New Issue
Block a user