Skip to content

Relocation data gets duplicated in the resulting TBF file #94

@pekangas

Description

@pekangas

The last of the issues we found while catching up with top-of-tree elf2tab...

The logic that gathers relocation data and places it at the end of the file ends up also emitting the data in place, which results in relocations being in the file twice.

My fix is a bit ugly, basically skipping segments that only have relocation data in them. I believe it should generally work, unless some configurations end up combining relocations with other data in the same segment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions