aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_arm.s
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2015-04-02 18:58:22 -0700
committerIan Lance Taylor <iant@golang.org>2015-04-03 05:18:31 +0000
commit32dbe076219f1eb432ec299b3f178bdcfc06e144 (patch)
tree3392332c7cd818cd581ef5605fcbc97a737b4953 /src/runtime/sys_linux_arm.s
parent21ed40c8cb4795433bda0cfb7754db5603a916f0 (diff)
downloadgo-32dbe076219f1eb432ec299b3f178bdcfc06e144.tar.gz
go-32dbe076219f1eb432ec299b3f178bdcfc06e144.zip
runtime: fix arm, arm64, ppc64 builds (I hope)
I guess we need more builders. Change-Id: I309e3df7608b9eef9339196fdc50dedf5f9422e4 Reviewed-on: https://go-review.googlesource.com/8434 Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com> Reviewed-by: David Crawshaw <crawshaw@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_arm.s')
-rw-r--r--src/runtime/sys_linux_arm.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/sys_linux_arm.s b/src/runtime/sys_linux_arm.s
index 242da45d92..db9fcb90cf 100644
--- a/src/runtime/sys_linux_arm.s
+++ b/src/runtime/sys_linux_arm.s
@@ -312,7 +312,8 @@ TEXT runtime·clone(SB),NOSPLIT,$0
// int32 clone0(int32 flags, void *stack, void* fn, void* fnarg);
TEXT runtime·clone0(SB),NOSPLIT,$0
// TODO(spetrovic): Implement this method.
- MOVW $-1, ret+16(FP)
+ MOVW $-1, R0
+ MOVW R0, ret+16(FP)
RET
TEXT runtime·sigaltstack(SB),NOSPLIT,$0