From: Ian Lance Taylor Date: Mon, 11 Jan 2016 19:18:23 +0000 (-0800) Subject: runtime: fix ppc64le cgocallback code X-Git-Tag: go1.6beta2~35 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3dda43c6aa89d72f82e441b83a1d747900e1b12d;p=gostls13.git runtime: fix ppc64le cgocallback code Change-Id: I5a4a842cab2173357e8d3e349011c0c2b63be4f9 Reviewed-on: https://go-review.googlesource.com/18512 Reviewed-by: Ian Lance Taylor --- diff --git a/src/runtime/asm_ppc64x.s b/src/runtime/asm_ppc64x.s index 6d003b04e1..50c4f2623c 100644 --- a/src/runtime/asm_ppc64x.s +++ b/src/runtime/asm_ppc64x.s @@ -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: