-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: symbol mismatch in object file #4171
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
fix: symbol mismatch in object file #4171
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am sure this PR is amiss in other places for a few reasons
- I'm unsure if this is
moldspecific behavior - I cannot find a reference for how rust gives equivalency between
STT_FUNCandSTT_TLS - I cannot reproduce on windows due to #4159, and I will only have access to mac in the AM to make sure this is inconsequential/beneficial.
Did not update the comment for the SymbolKind::Text arm
|
I think we can use the section of the symbol to determine which type of TLS it is. We do need both. Will take a poke at fixing it for the STT type. Do you have any projects or repro that includes both? |
|
@jkelleyrtp Would it still be beneficial to have an MRE? |
* fix: symbol kind in obj * actually patch TLS * update docs and cleanup size impl for tls * remove debug logs --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
* fix: symbol kind in obj * actually patch TLS * update docs and cleanup size impl for tls * remove debug logs --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
fixes #4169