1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:04:49 -07:00

runtime: fix arm build

The current failure is:
fatal error: runtime: stack split during syscall
goroutine 2 [stack split]:
_addv(0xb6fa0f28, 0xd0a5112e, 0x13156d6e, 0xf8475800, 0xd)
        /usr/local/go/src/pkg/runtime/vlrt_arm.c:66 fp=0xb6fa0ef8
notetsleep(0xb6fa0f9c, 0xf8475800, 0xd, 0x0, 0x0, ...)
        /usr/local/go/src/pkg/runtime/lock_futex.c:156 +0xd0 fp=0xb6fa0f18
runtime.notetsleepg(0xb6fa0f9c, 0xf8475800, 0xd)
        /usr/local/go/src/pkg/runtime/lock_futex.c:197 +0x74 fp=0xb6fa0f3c

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/12052043
This commit is contained in:
Dmitriy Vyukov 2013-07-29 23:41:12 +04:00
parent d91219e458
commit 64db2ec915
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ arg=0
/* replaced use of R10 by R11 because the former can be the data segment base register */
TEXT _mulv(SB), $0
TEXT _mulv(SB), 7, $0
MOVW 0(FP), R0
MOVW 4(FP), R2 /* l0 */
MOVW 8(FP), R11 /* h0 */

View File

@ -62,6 +62,7 @@ struct Vlong
void runtime·abort(void);
#pragma textflag 7
void
_addv(Vlong *r, Vlong a, Vlong b)
{