diff options
author | Russ Cox <rsc@golang.org> | 2014-09-04 01:58:31 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-09-04 01:58:31 -0400 |
commit | b44e6164472d5c3e7506d612773ce05f972fa70d (patch) | |
tree | 49b836cc7fccaed09a6c4077ce12f30b314d9cd8 /src/pkg | |
parent | 9e842d4ca4e7e3930691fe3fd671025ed3b2d531 (diff) | |
download | go-b44e6164472d5c3e7506d612773ce05f972fa70d.tar.gz |
runtime: fix nacl/amd64p32 build
BP is not a legal register on nacl.
TBR=iant
CC=golang-codereviews
https://codereview.appspot.com/140980043
Diffstat (limited to 'src/pkg')
-rw-r--r-- | src/pkg/runtime/asm_amd64p32.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/asm_amd64p32.s b/src/pkg/runtime/asm_amd64p32.s index 106a722fe..512e92314 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. |