Skip to content

Commit b619c49

Browse files
committed
apply junction patch
1 parent 9b39962 commit b619c49

File tree

5 files changed

+110
-88
lines changed

5 files changed

+110
-88
lines changed

src/cmd/vendor/golang.org/x/sys/unix/asm_junction_amd64.s

Lines changed: 12 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/runtime/internal/syscall/asm_junction_amd64.s

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ TEXT ·Syscall6(SB),NOSPLIT,$0-80
1616
MOVQ a1+8(FP), DI
1717
MOVQ a2+16(FP), SI
1818
MOVQ a3+24(FP), DX
19-
MOVQ a4+32(FP), R10
19+
MOVQ a4+32(FP), CX
2020
MOVQ a5+40(FP), R8
2121
MOVQ a6+48(FP), R9
22-
SYSCALL
22+
PUSHQ AX
23+
CALL (0x200e18)
24+
POPQ SI
2325
CMPQ AX, $0xfffffffffffff001
2426
JLS ok
2527
MOVQ $-1, r1+56(FP)

0 commit comments

Comments
 (0)