| // Copyright 2011 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| // For the linkers. Must match Go definitions. |
| // TODO(rsc): Share Go definitions with linkers directly. |
| #define STACKSYSTEM (512 * sizeof(uintptr)) |
| StackSystem = STACKSYSTEM, |
| StackGuard = 640 + StackSystem, |
| StackLimit = StackGuard - StackSystem - StackSmall, |
| #define StackPreempt ((uint64)-1314) |
| StackPreempt = 1, // TODO: Change to (uint64)-1314 in Go translation |