-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/link: trailing padding after "Go" in ELF note name #36719
Comments
Seems fine. I don't think you need |
Change https://golang.org/cl/217857 mentions this issue: |
Hey Ian, in the CL we changed our confidence of the proposed fix. Would you advise moving this issue to the next milestone or shall we work on it through Go1.15? Thank you. |
Hey @odeke-em. From my side, I tried to debug the issue, but locally the toolchain is built correctly and all tests pass; I have no clue how to debug the Try-Bots, so I don't know how easy/hard the fix would be. Both |
This doesn't seem to be urgent so changing milestone to Backlog. |
Change https://go.dev/cl/477235 mentions this issue: |
https://www.sco.com/developers/gabi/latest/ch5.pheader.html#note_section says [emphasis added]:
It looks like we get this right for the "NetBSD" tag, where we include a single nul-terminator character within the name (as measured by namesz), but then include an extra padding zero-byte for alignment.
However, for the "Go" tag, we include an extra nul-terminator within the name itself. The second nul-terminator should actually be padding.
Pointed out by Mark Kettenis from OpenBSD.
/cc @4a6f656c
The text was updated successfully, but these errors were encountered: