github.com/goproxy0/go@v0.0.0-20171111080102-49cc0c489d2c/src/cmd/internal/objabi/stack.go (about) 1 // Copyright 2011 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package objabi 6 7 // For the linkers. Must match Go definitions. 8 9 const ( 10 STACKSYSTEM = 0 11 StackSystem = STACKSYSTEM 12 StackBig = 4096 13 StackGuard = 880*stackGuardMultiplier + StackSystem 14 StackSmall = 128 15 StackLimit = StackGuard - StackSystem - StackSmall 16 ) 17 18 const ( 19 StackPreempt = -1314 // 0xfff...fade 20 )