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

dump with r_addend is not correct #64

Open
ZYHowell opened this issue Jun 8, 2020 · 0 comments
Open

dump with r_addend is not correct #64

ZYHowell opened this issue Jun 8, 2020 · 0 comments

Comments

@ZYHowell
Copy link

ZYHowell commented Jun 8, 2020

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.

@ZYHowell ZYHowell changed the title dump with r_addend is not well dump with r_addend is not correct Jun 8, 2020
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