aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack2.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stack2.go')
-rw-r--r--src/runtime/stack2.go6
1 files changed, 3 insertions, 3 deletions
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