Skip to content
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

Support ELF .relr relocations #722

Closed
bjorn3 opened this issue Aug 24, 2024 · 2 comments · Fixed by #746
Closed

Support ELF .relr relocations #722

bjorn3 opened this issue Aug 24, 2024 · 2 comments · Fixed by #746

Comments

@bjorn3
Copy link
Contributor

bjorn3 commented Aug 24, 2024

https://maskray.me/blog/2021-10-31-relative-relocations-and-relr has an explanation of the format.

@philipc
Copy link
Contributor

philipc commented Aug 25, 2024

Is there anything in particular you want to be able to use this to do?

@bjorn3
Copy link
Contributor Author

bjorn3 commented Aug 25, 2024

At the very least I would like reader support for .relr relocations. Arch Linux started using them 6 months ago: https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/merge_requests/6 As did Fedora: https://src.fedoraproject.org/rpms/redhat-rpm-config/c/5fca01a Without .relr support in object, this would mean every user of object that wants to read all relocations in executables would miss a ton of relocations in executables compiled by Fedora and Arch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants