mirror of https://github.com/golang/go.git
runtime: fix ppc64le cgocallback code
Change-Id: I5a4a842cab2173357e8d3e349011c0c2b63be4f9 Reviewed-on: https://go-review.googlesource.com/18512 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
e13a082284
commit
3dda43c6aa
|
|
@ -625,8 +625,8 @@ needm:
|
|||
// and then systemstack will try to use it. If we don't set it here,
|
||||
// that restored SP will be uninitialized (typically 0) and
|
||||
// will not be usable.
|
||||
MOVD g_m(g), R3
|
||||
MOVD m_g0(R3), R3
|
||||
MOVD g_m(g), R8
|
||||
MOVD m_g0(R8), R3
|
||||
MOVD R1, (g_sched+gobuf_sp)(R3)
|
||||
|
||||
havem:
|
||||
|
|
|
|||
Loading…
Reference in New Issue