]> Cypherpunks repositories - gostls13.git/commit
runtime, misc/cgo/test: fix build for Linux/ARM
authorShenghou Ma <minux.ma@gmail.com>
Fri, 4 May 2012 17:35:13 +0000 (01:35 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 4 May 2012 17:35:13 +0000 (01:35 +0800)
commit018bcc35350c83956f8d77550873cd6886acd011
tree56d5d696b8eba959bc4c6b7c19c88b6a247fbb8f
parent018c60bd8f2447ee1426568707d7179623dac552
runtime, misc/cgo/test: fix build for Linux/ARM
1. In CL 5989057, I made a mistake in the last minute change.
"MOVW.W R4, -4(SP)" should really be "MOVW.W R4, -4(R13)",
as 5l will rewrite offset for SP.
2. misc/cgo/test/issue1560.go tests for parallel sleep of 1s,
but on ARM, the deadline is frequently missed, so change sleep
time to 2s on ARM.

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/6202043
misc/cgo/test/issue1560.go
src/pkg/runtime/asm_arm.s