Commits

minux committed 9bcc08b

runtime: fix calling runtime.badsignal in sys_sunos_amd64.s

Comments (0)

Files changed (1)

src/pkg/runtime/sys_sunos_amd64.s

 	// check that m exists
 	MOVQ	m(BX), BP
 	CMPQ	BP, $0
-	JNE	4(PC)
+	JNE	5(PC)
 	MOVQ	DI, 0(SP)
-	CALL	runtime·badsignal(SB)
+	MOVQ	$runtime·badsignal(SB), AX
+	CALL	AX
 	RET
 
 	// save g