github.com/Rookout/GoSDK@v0.1.48/pkg/services/assembler/internal/obj/textflag.go (about)

     1  // Copyright 2013 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.assembler file.
     4  
     5  // This file defines flags attached to various functions
     6  // and data objects. The compilers, assemblers, and linker must
     7  // all agree on these values.
     8  
     9  package obj
    10  
    11  const (
    12  	
    13  	
    14  	
    15  	NOPROF = 1
    16  
    17  	
    18  	
    19  	DUPOK = 2
    20  
    21  	
    22  	NOSPLIT = 4
    23  
    24  	
    25  	RODATA = 8
    26  
    27  	
    28  	NOPTR = 16
    29  
    30  	
    31  	
    32  	WRAPPER = 32
    33  
    34  	
    35  	NEEDCTXT = 64
    36  
    37  	
    38  	LOCAL = 128
    39  
    40  	
    41  	
    42  	TLSBSS = 256
    43  
    44  	
    45  	
    46  	
    47  	NOFRAME = 512
    48  
    49  	
    50  	REFLECTMETHOD = 1024
    51  
    52  	
    53  	
    54  	TOPFRAME = 2048
    55  
    56  	
    57  	ABIWRAPPER = 4096
    58  
    59  	
    60  	PKGINIT = 8192
    61  )