Skip to content

Commit

Permalink
adding exported Gofunc to all ModuleData definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
brigadier-general authored Jun 7, 2024
1 parent 35b5d92 commit 189e50e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions objfile/internals.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ type ModuleData12_r15_r16_64 struct {
End pvoid64
Gcdata pvoid64
Gcbss pvoid64
Gofunc pvoid64

Typelinks GoSlice64

Expand Down Expand Up @@ -197,6 +198,7 @@ type ModuleData12_r15_r16_32 struct {
End pvoid32
Gcdata pvoid32
Gcbss pvoid32
Gofunc pvoid64

Typelinks GoSlice32

Expand Down Expand Up @@ -242,6 +244,7 @@ type ModuleData12_r17_64 struct {
End pvoid64
Gcdata pvoid64
Gcbss pvoid64
Gofunc pvoid64
Types pvoid64
Etypes pvoid64

Expand Down Expand Up @@ -292,6 +295,7 @@ type ModuleData12_r17_32 struct {
End pvoid32
Gcdata pvoid32
Gcbss pvoid32
Gofunc pvoid64
Types pvoid32
Etypes pvoid32

Expand Down Expand Up @@ -341,6 +345,7 @@ type ModuleData12_64 struct {
End pvoid64
Gcdata pvoid64
Gcbss pvoid64
Gofunc pvoid64
Types pvoid64
Etypes pvoid64
Textsectmap GoSlice64
Expand Down Expand Up @@ -392,6 +397,7 @@ type ModuleData12_32 struct {
End pvoid32
Gcdata pvoid32
Gcbss pvoid32
Gofunc pvoid64
Types pvoid32
Etypes pvoid32
Textsectmap GoSlice32
Expand Down Expand Up @@ -447,6 +453,7 @@ type ModuleData116_64 struct {
End pvoid64
Gcdata pvoid64
Gcbss pvoid64
Gofunc pvoid64
Types pvoid64
Etypes pvoid64
Textsectmap GoSlice64
Expand Down Expand Up @@ -502,6 +509,7 @@ type ModuleData116_32 struct {
End pvoid32
Gcdata pvoid32
Gcbss pvoid32
Gofunc pvoid64
Types pvoid32
Etypes pvoid32
Textsectmap GoSlice32
Expand Down Expand Up @@ -1301,6 +1309,7 @@ type ModuleData struct {
ETypes uint64 // points to end of type information
Typelinks GoSlice64 // points to metadata about offsets into types for structures and other types
ITablinks GoSlice64 // points to metadata about offsets into types for interfaces
Gofunc uint64 // offset used for calculating inline trees

// Some versions of go with 1.2 moduledata use a slice instead of the types + offset typelinks list
LegacyTypes GoSlice64
Expand Down

0 comments on commit 189e50e

Please sign in to comment.