From: Russ Cox Date: Thu, 4 Sep 2014 05:58:31 +0000 (-0400) Subject: runtime: fix nacl/amd64p32 build X-Git-Tag: go1.4beta1~545 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dae803863978513a159b36822054126f042ff412;p=gostls13.git runtime: fix nacl/amd64p32 build BP is not a legal register on nacl. TBR=iant CC=golang-codereviews https://golang.org/cl/140980043 --- diff --git a/src/pkg/runtime/asm_amd64p32.s b/src/pkg/runtime/asm_amd64p32.s index 106a722fe2..512e923148 100644 --- a/src/pkg/runtime/asm_amd64p32.s +++ b/src/pkg/runtime/asm_amd64p32.s @@ -185,8 +185,8 @@ TEXT runtime·onM(SB), NOSPLIT, $0-4 CMPL AX, DX JEQ onm - MOVL m_curg(BX), BP - CMPL AX, BP + MOVL m_curg(BX), R8 + CMPL AX, R8 JEQ oncurg // Not g0, not curg. Must be gsignal, but that's not allowed.