Re: [go-nuts] Which part of go compiler set the symbol "runtime.text" in the final build?

2024-01-24 Thread Def Ceb
The binary stores a lot of ancillary data for runtime access. This (mostly?) spans out from runtime.pclntab and runtime.firstmoduledata and all the structures referenced by them. This is uniform across all platforms too, with the runtime doing the same operations across different OS-es and exec

[go-nuts] Which part of go compiler set the symbol "runtime.text" in the final build?

2024-01-24 Thread Zxilly Chou
Yesterday, I reported an issue on debug/gosym at issues/65232 regarding the difference between the symbol table and gopclntab. A member of the Go team informed me that the start of the .text segment is not always kept the same as 'runtime.text' value. I am curious about how the compiler sets th

[go-nuts] Go 1.22 Release Candidate 2 is released

2024-01-24 Thread announce
Hello gophers, We have just released go1.22rc2, a release candidate version of Go 1.22. It is cut from release-branch.go1.22 at the revision tagged go1.22rc2. Please try your production load tests and unit tests with the new version. Your help testing these pre-release versions is invaluable. Re