From 3dda43c6aa89d72f82e441b83a1d747900e1b12d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 11 Jan 2016 11:18:23 -0800 Subject: [PATCH] runtime: fix ppc64le cgocallback code Change-Id: I5a4a842cab2173357e8d3e349011c0c2b63be4f9 Reviewed-on: https://go-review.googlesource.com/18512 Reviewed-by: Ian Lance Taylor --- src/runtime/asm_ppc64x.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.50.0