From 56e8f8e8224a718ae005321b65986e72a695e7f2 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Fri, 26 Dec 2014 01:07:10 -0500 Subject: runtime: darwin/arm support Change-Id: I63110daad2d62ae72ab1f33a40464d76e6205627 Reviewed-on: https://go-review.googlesource.com/2121 Reviewed-by: David Crawshaw --- src/runtime/stack2.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/runtime/stack2.go') diff --git a/src/runtime/stack2.go b/src/runtime/stack2.go index 8a78b1ad96..07a7d38f0c 100644 --- a/src/runtime/stack2.go +++ b/src/runtime/stack2.go @@ -57,9 +57,9 @@ functions to make sure that this limit cannot be violated. const ( // StackSystem is a number of additional bytes to add // to each stack below the usual guard area for OS-specific - // purposes like signal handling. Used on Windows and on - // Plan 9 because they do not use a separate stack. - _StackSystem = goos_windows*512*ptrSize + goos_plan9*512 + // purposes like signal handling. Used on Windows, Plan 9, + // and Darwin/ARM because they do not use a separate stack. + _StackSystem = goos_windows*512*ptrSize + goos_plan9*512 + goos_darwin*goarch_arm*1024 // The minimum size of stack used by Go code _StackMin = 2048 -- cgit v1.3-5-g9baa