cmd/link: temporary empty symbols are being stored in the ELF symbol table #27800
Labels
Milestone
Comments
Kindly paging some linker folks @ianlancetaylor @heschik @thanm @aclements |
What's the problem with 0-sized symbols? For a C program compiled with GCC, there are also a bunch of 0-sized symbols. |
@cherrymui 0-sized symbols isn't the issue, it's the temporary ones such as:
I wasn't clear about that in the issue title/description. Updated. |
Change https://golang.org/cl/142497 mentions this issue: |
Change https://golang.org/cl/142577 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.10.3 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
I was doing disassembly related research and noticed that there's a whole bunch of empty symbols in the symbol table that seem to have been for temporary purposes. Things like:
unicode.statictmp_103
gist of the go program and its output
What did you expect to see?
No temporary empty symbols being part of the compiled ELF symbol table
What did you see instead?
Temporary empty symbols being part of the compiled ELF symbol table
The text was updated successfully, but these errors were encountered: