From: Russ Cox Date: Wed, 13 Aug 2014 18:52:01 +0000 (-0400) Subject: [dev.power64] runtime: fix newstackcall X-Git-Tag: go1.5beta1~2684^2~25^2~46 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ebf42035b76acad4c5f58b7904750b7fb0b25a42;p=gostls13.git [dev.power64] runtime: fix newstackcall moreframesize is a uint32, not a uint64. LGTM=minux R=minux CC=golang-codereviews https://golang.org/cl/124310043 --- diff --git a/src/pkg/runtime/asm_power64x.s b/src/pkg/runtime/asm_power64x.s index 59c7a9eb5a..e530e704ef 100644 --- a/src/pkg/runtime/asm_power64x.s +++ b/src/pkg/runtime/asm_power64x.s @@ -284,7 +284,7 @@ TEXT runtime·newstackcall(SB), NOSPLIT, $-8-20 MOVD R8, m_moreargp(R5) MOVW R9, m_moreargsize(R5) MOVD $1, R10 - MOVD R10, m_moreframesize(R5) + MOVW R10, m_moreframesize(R5) // call newstack on m->g0's stack MOVD m_g0(R5), g