aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-04 01:58:31 -0400
committerRuss Cox <rsc@golang.org>2014-09-04 01:58:31 -0400
commitdae803863978513a159b36822054126f042ff412 (patch)
tree5211330783b84d7b8fd86fc0e8c931bc0d58466b /src/pkg/runtime
parentb143feb1431b58c02be6edca6bc5f6067b22a14d (diff)
downloadgo-dae803863978513a159b36822054126f042ff412.tar.xz
runtime: fix nacl/amd64p32 build
BP is not a legal register on nacl. TBR=iant CC=golang-codereviews https://golang.org/cl/140980043
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/asm_amd64p32.s4
1 files changed, 2 insertions, 2 deletions
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.