mirror of
https://github.com/golang/go
synced 2024-11-25 09:17:57 -07:00
runtime: fix build for windows.
R=golang-dev CC=golang-dev https://golang.org/cl/11188043
This commit is contained in:
parent
2f1ead7095
commit
4a4d48328b
@ -38,7 +38,7 @@ TEXT runtime·asmstdcall(SB),7,$0
|
||||
|
||||
RET
|
||||
|
||||
TEXT runtime·badsignal(SB),7,$24
|
||||
TEXT runtime·badsignal2(SB),7,$24
|
||||
// stderr
|
||||
MOVL $-12, 0(SP)
|
||||
MOVL SP, BP
|
||||
@ -86,7 +86,7 @@ TEXT runtime·sigtramp(SB),7,$28
|
||||
MOVL m(CX), AX
|
||||
CMPL AX, $0
|
||||
JNE 2(PC)
|
||||
CALL runtime·badsignal(SB)
|
||||
CALL runtime·badsignal2(SB)
|
||||
|
||||
MOVL g(CX), CX
|
||||
MOVL CX, 8(SP)
|
||||
|
@ -60,7 +60,7 @@ loadregs:
|
||||
|
||||
RET
|
||||
|
||||
TEXT runtime·badsignal(SB),7,$48
|
||||
TEXT runtime·badsignal2(SB),7,$48
|
||||
// stderr
|
||||
MOVQ $-12, CX // stderr
|
||||
MOVQ CX, 0(SP)
|
||||
@ -118,7 +118,7 @@ TEXT runtime·sigtramp(SB),7,$0
|
||||
MOVQ m(CX), AX
|
||||
CMPQ AX, $0
|
||||
JNE 2(PC)
|
||||
CALL runtime·badsignal(SB)
|
||||
CALL runtime·badsignal2(SB)
|
||||
|
||||
MOVQ g(CX), CX
|
||||
MOVQ CX, 16(SP)
|
||||
|
Loading…
Reference in New Issue
Block a user