linux: Make elf name type constants always available#3938
Merged
tgross35 merged 1 commit intorust-lang:mainfrom Oct 1, 2024
Merged
linux: Make elf name type constants always available#3938tgross35 merged 1 commit intorust-lang:mainfrom
tgross35 merged 1 commit intorust-lang:mainfrom
Conversation
Collaborator
|
r? @JohnTitor rustbot has assigned @JohnTitor. Use |
Contributor
|
Thanks for the PR! Are these also available through glibc? If so they should probably just go to |
Contributor
Author
Yeah, we already have them in
Let me give this a try:) |
eddedde to
e40526a
Compare
Contributor
Author
Done:) |
e40526a to
571b37c
Compare
Contributor
|
Docs for reference https://man7.org/linux/man-pages/man5/elf.5.html |
Merged
tgross35
pushed a commit
to tgross35/rust-libc
that referenced
this pull request
Oct 15, 2024
…ng#3938) (backport <rust-lang#3938>) (cherry picked from commit 4ce03da)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do
Adds some register set values for Linux/musl
Linux header: https://github.com/torvalds/linux/blob/88264981f2082248e892a706b2c5004650faac54/include/uapi/linux/elf.h#L378-L382
We can port this patch to the
libc-0.2branch.