github.com/epfl-dcsl/gotee@v0.0.0-20200909122901-014b35f5e5e9/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  )