| 1 | // Code generated by downloading from https://github.com/golang/go/raw/go1.16.2/src/runtime/textflag.h. DO NOT EDIT. |
| 2 | |
| 3 | // Copyright 2013 The Go Authors. All rights reserved. |
| 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
| 7 | // This file defines flags attached to various functions |
| 8 | // and data objects. The compilers, assemblers, and linker must |
| 9 | // all agree on these values. |
| 10 | // |
| 11 | // Keep in sync with src/cmd/internal/obj/textflag.go. |
| 12 | |
| 13 | // Don't profile the marked routine. This flag is deprecated. |
| 14 | #define NOPROF 1 |
| 15 | // It is ok for the linker to get multiple of these symbols. It will |
| 16 | // pick one of the duplicates to use. |
| 17 | #define DUPOK 2 |
| 18 | // Don't insert stack check preamble. |
| 19 | #define NOSPLIT 4 |
| 20 | // Put this data in a read-only section. |
| 21 | #define RODATA 8 |
| 22 | // This data contains no pointers. |
| 23 | #define NOPTR 16 |
| 24 | // This is a wrapper function and should not count as disabling 'recover'. |
| 25 | #define WRAPPER 32 |
| 26 | // This function uses its incoming context register. |
| 27 | #define NEEDCTXT 64 |
| 28 | // Allocate a word of thread local storage and store the offset from the |
| 29 | // thread local base to the thread local storage in this variable. |
| 30 | #define TLSBSS 256 |
| 31 | // Do not insert instructions to allocate a stack frame for this function. |
| 32 | // Only valid on functions that declare a frame size of 0. |
| 33 | // TODO(mwhudson): only implemented for ppc64x at present. |
| 34 | #define NOFRAME 512 |
| 35 | // Function can call reflect.Type.Method or reflect.Type.MethodByName. |
| 36 | #define REFLECTMETHOD 1024 |
| 37 | // Function is the top of the call stack. Call stack unwinders should stop |
| 38 | // at this function. |
| 39 | #define TOPFRAME 2048 |