summaryrefslogtreecommitdiff
path: root/src/runtime/rt0_linux_ppc64le.s
Commit message (Collapse)AuthorAgeFilesLines
* runtime: add library startup support for ppc64leRuss Cox2016-05-261-0/+129
| | | | | | | | | | | I have been running this patch inside Google against Go 1.6 for the last month. The new tests will probably break the builders but let's see exactly how they break. Change-Id: Ia65cf7d3faecffeeb4b06e9b80875c0e57d86d9e Reviewed-on: https://go-review.googlesource.com/23452 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* runtime: replace tls0 with m0.tlsMatthew Dempsky2015-11-131-1/+2
| | | | | | | | | | | We're allocating TLS storage for m0 anyway, so might as well use it. Change-Id: I7dc20bbea5320c8ab8a367f18a9540706751e771 Reviewed-on: https://go-review.googlesource.com/16890 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* runtime, runtime/cgo: conform to PIC register use rules in ppc64 asmMichael Hudson-Doyle2015-10-181-2/+2
| | | | | | | | | | PIC code on ppc64le uses R2 as a TOC pointer and when calling a function through a function pointer must ensure the function pointer is in R12. These rules are easy enough to follow unconditionally in our assembly, so do that. Change-Id: Icfc4e47ae5dfbe15f581cbdd785cdeed6e40bc32 Reviewed-on: https://go-review.googlesource.com/15526 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* cmd/cgo, runtime/cgo: support ppc64Austin Clements2015-01-071-3/+21
| | | | | | | | | | This implements support for calls to and from C in the ppc64 C ABI, as well as supporting functionality such as an entry point from the dynamic linker. Change-Id: I68da6df50d5638cb1a3d3fef773fb412d7bf631a Reviewed-on: https://go-review.googlesource.com/2009 Reviewed-by: Russ Cox <rsc@golang.org>
* runtime: set up C TLS and save g to it on ppc64Austin Clements2015-01-071-0/+2
| | | | | | | | | Cgo will need this for calls from C to Go and for handling signals that may occur in C code. Change-Id: I50cc4caf17cd142bff501e7180a1e27721463ada Reviewed-on: https://go-review.googlesource.com/2008 Reviewed-by: Russ Cox <rsc@golang.org>
* all: power64 is now ppc64Russ Cox2014-12-051-0/+14
Fixes #8654. LGTM=austin R=austin CC=golang-codereviews https://golang.org/cl/180600043