Skip to content

dump with r_addend is not correct #64

@ZYHowell

Description

@ZYHowell

I'm writing an assembler to generate relocatable object file and using dump function of rv8 to debug(btw, its output format is really nice). The file is little endian.
But I've found that the dump of relocations has a bug: the r_addend is incorrect. As I forgot to memset Elf32_Rela, the r_addend member was incorrectly not zero, but in dumped result it is actually zero.

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