1
0
mirror of https://github.com/golang/go synced 2024-11-20 02:34:42 -07:00

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>
This commit is contained in:
Ian Lance Taylor 2015-04-02 18:58:22 -07:00
parent 21ed40c8cb
commit 32dbe07621
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -359,7 +359,8 @@ again:
// int32 clone0(int32 flags, void *stack, void* fn, void* fnarg);
TEXT runtime·clone0(SB),NOSPLIT,$0
// TODO(spetrovic): Implement this method.
MOVW $-1, ret+32(FP)
MOVW $-1, R0
MOVW R0, ret+32(FP)
RET
TEXT runtime·sigaltstack(SB),NOSPLIT,$-8

View File

@ -348,7 +348,8 @@ TEXT runtime·clone(SB),NOSPLIT,$-8
// int32 clone0(int32 flags, void *stack, void* fn, void* fnarg);
TEXT runtime·clone0(SB),NOSPLIT,$0
// TODO(spetrovic): Implement this method.
MOVW $-1, ret+32(FP)
MOVW $-1, R3
MOVW R3, ret+32(FP)
RETURN
TEXT runtime·sigaltstack(SB),NOSPLIT,$-8