]> Cypherpunks repositories - gostls13.git/commit
runtime: add a constant for the smallest possible stack frame
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Thu, 8 Oct 2015 08:52:03 +0000 (21:52 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 18 Oct 2015 22:14:00 +0000 (22:14 +0000)
commita4855812e259f91914328659a37dc3a2582da7ba
tree69e99faa7dca898b98258f8307e09e202cdb85d3
parent45c06b27a44a65c219a7445278b129c868332a6c
runtime: add a constant for the smallest possible stack frame

Shared libraries on ppc64le will require a larger minimum stack frame (because
the ABI mandates that the TOC pointer is available at 24(R1)). So to prepare
for this, make a constant for the fixed part of a stack and use that where
necessary.

Change-Id: I447949f4d725003bb82e7d2cf7991c1bca5aa887
Reviewed-on: https://go-review.googlesource.com/15523
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
14 files changed:
src/runtime/arch_386.go
src/runtime/arch_amd64.go
src/runtime/arch_amd64p32.go
src/runtime/arch_arm.go
src/runtime/arch_arm64.go
src/runtime/arch_ppc64.go
src/runtime/arch_ppc64le.go
src/runtime/cgocall.go
src/runtime/mgcmark.go
src/runtime/panic.go
src/runtime/proc1.go
src/runtime/signal_ppc64x.go
src/runtime/stack.go
src/runtime/traceback.go