From 32dbe076219f1eb432ec299b3f178bdcfc06e144 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 2 Apr 2015 18:58:22 -0700 Subject: 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 Reviewed-by: David Crawshaw Reviewed-by: Minux Ma --- src/runtime/sys_linux_arm.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/runtime/sys_linux_arm.s') 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 -- cgit v1.3-5-g9baa