]> Cypherpunks repositories - gostls13.git/commit
runtime: fix ppc64le c-archive init
authorIan Lance Taylor <iant@golang.org>
Wed, 24 May 2017 22:01:49 +0000 (15:01 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 24 May 2017 22:28:33 +0000 (22:28 +0000)
commitdaa0ddde931f1c08bffe86c7a67787d0c756993e
tree887e14bec6d52227c517af04b2aaf416ae34668f
parent994b7eebc7e704b7132e5a69be72ca885b30b83e
runtime: fix ppc64le c-archive init

We weren't setting r0 to 0, as required by our generated code.

Before this patch, the misc/cgo/testcarchive tests failed on ppc64le.
After this patch, they work, so enable them.

Change-Id: I53b16746961da9f7c34f59030a1e40953c9c1e05
Reviewed-on: https://go-review.googlesource.com/44093
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/dist/test.go
src/runtime/rt0_linux_ppc64le.s