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

Nobits sections are no longer relocated #244

Open
Mr-Wiseguy opened this issue Jul 1, 2024 · 0 comments
Open

Nobits sections are no longer relocated #244

Mr-Wiseguy opened this issue Jul 1, 2024 · 0 comments

Comments

@Mr-Wiseguy
Copy link

As of a8d71f0, which came from #240, sections marked with SHT_NOBITS are no longer relocated. This is incorrect, as SHT_NOBITS only means that the section isn't supposed to end up in the resulting binary. Virtual addresses should still be relocated, otherwise .bss sections from compiled C code will have invalid addresses compared to the other sections imported from the same object file.

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

No branches or pull requests

1 participant