diff options
| author | Shenghou Ma <minux@golang.org> | 2014-12-26 01:07:10 -0500 |
|---|---|---|
| committer | Minux Ma <minux@golang.org> | 2015-02-06 05:48:56 +0000 |
| commit | 56e8f8e8224a718ae005321b65986e72a695e7f2 (patch) | |
| tree | 8c372b9b61c95a7b4ed9853399a3dd3a90c5bae4 /src/runtime/stack2.go | |
| parent | 1083715b7f2cb89e90a9ef04012a427aabe4e648 (diff) | |
| download | go-56e8f8e8224a718ae005321b65986e72a695e7f2.tar.xz | |
runtime: darwin/arm support
Change-Id: I63110daad2d62ae72ab1f33a40464d76e6205627
Reviewed-on: https://go-review.googlesource.com/2121
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/runtime/stack2.go')
| -rw-r--r-- | src/runtime/stack2.go | 6 |
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 |
