github.com/FenixAra/go@v0.0.0-20170127160404-96ea0918e670/src/cmd/internal/obj/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 obj
     6  
     7  // For the linkers. Must match Go definitions.
     8  // TODO(rsc): Share Go definitions with linkers directly.
     9  
    10  const (
    11  	STACKSYSTEM = 0
    12  	StackSystem = STACKSYSTEM
    13  	StackBig    = 4096
    14  	StackGuard  = 880*stackGuardMultiplier + StackSystem
    15  	StackSmall  = 128
    16  	StackLimit  = StackGuard - StackSystem - StackSmall
    17  )
    18  
    19  const (
    20  	StackPreempt = -1314 // 0xfff...fade
    21  )