Commit 4a4d4832 authored by Shenghou Ma's avatar Shenghou Ma

runtime: fix build for windows.

R=golang-dev
CC=golang-dev
https://golang.org/cl/11188043
parent 2f1ead70
......@@ -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)
......
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