github.com/eh-steve/goloader@v0.0.0-20240111193454-90ff3cfdae39/objabi/symkind/symkind.1.9.go (about)

     1  //go:build go1.9 && !go1.23
     2  // +build go1.9,!go1.23
     3  
     4  package symkind
     5  
     6  import "cmd/objfile/objabi"
     7  
     8  // copy from $GOROOT/src/cmd/internal/objabi/symkind.go
     9  const (
    10  	// An otherwise invalid zero value for the type
    11  	Sxxx = int(objabi.Sxxx)
    12  	// Executable instructions
    13  	STEXT = int(objabi.STEXT)
    14  	// Read only static data
    15  	SRODATA = int(objabi.SRODATA)
    16  	// Static data that does not contain any pointers
    17  	SNOPTRDATA = int(objabi.SNOPTRDATA)
    18  	// Static data
    19  	SDATA = int(objabi.SDATA)
    20  	// Statically data that is initially all 0s
    21  	SBSS = int(objabi.SBSS)
    22  	// Statically data that is initially all 0s and does not contain pointers
    23  	SNOPTRBSS = int(objabi.SNOPTRBSS)
    24  	// Thread-local data that is initally all 0s
    25  	STLSBSS = int(objabi.STLSBSS)
    26  )