From c83c8065355c7ccef33eb0ebc870bf648d3d89cb Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 30 Oct 2015 12:36:08 +1300 Subject: cmd/internal/obj, cmd/link, runtime: use a larger stack frame on ppc64 The larger stack frames causes the nosplit stack to overflow so the next change increases the stackguard. Change-Id: Ib2b4f24f0649eb1d13e3a58d265f13d1b6cc9bf9 Reviewed-on: https://go-review.googlesource.com/15964 Reviewed-by: Russ Cox --- src/runtime/internal/sys/arch_ppc64.go | 2 +- src/runtime/internal/sys/arch_ppc64le.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/internal') diff --git a/src/runtime/internal/sys/arch_ppc64.go b/src/runtime/internal/sys/arch_ppc64.go index fca31c28d0..3aa07e1f56 100644 --- a/src/runtime/internal/sys/arch_ppc64.go +++ b/src/runtime/internal/sys/arch_ppc64.go @@ -12,7 +12,7 @@ const ( PCQuantum = 4 Int64Align = 8 HugePageSize = 0 - MinFrameSize = 8 + MinFrameSize = 32 ) type Uintreg uint64 diff --git a/src/runtime/internal/sys/arch_ppc64le.go b/src/runtime/internal/sys/arch_ppc64le.go index 586a954a0c..0f02f0bf3c 100644 --- a/src/runtime/internal/sys/arch_ppc64le.go +++ b/src/runtime/internal/sys/arch_ppc64le.go @@ -12,7 +12,7 @@ const ( PCQuantum = 4 Int64Align = 8 HugePageSize = 0 - MinFrameSize = 8 + MinFrameSize = 32 ) type Uintreg uint64 -- cgit v1.3-5-g9baa