Skip to content

Nobits sections are no longer relocated #244

@Mr-Wiseguy

Description

@Mr-Wiseguy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions