libgo: update to go1.9
[official-gcc.git] / libgo / go / cmd / internal / objabi / stack.go
blob11433932e2dcfbdc8eeb4b26cc85bddaf7e237d2
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.
5 package objabi
7 // For the linkers. Must match Go definitions.
9 const (
10 STACKSYSTEM = 0
11 StackSystem = STACKSYSTEM
12 StackBig = 4096
13 StackGuard = 880*stackGuardMultiplier + StackSystem
14 StackSmall = 128
15 StackLimit = StackGuard - StackSystem - StackSmall
18 const (
19 StackPreempt = -1314 // 0xfff...fade