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

RISC-V Support for Writing #1001

Open
romainthomas opened this issue Dec 2, 2023 · 1 comment
Open

RISC-V Support for Writing #1001

romainthomas opened this issue Dec 2, 2023 · 1 comment

Comments

@romainthomas
Copy link
Member

LIEF should be able to write-back RISC-V binaries while currently it only supports parsing.

@byronwatt
Copy link

I'm trying to modify some symbols in a riscv elf file using WrapMaster.py,

but after rewriting the .o files the linker is complaining with:

sample.c:(.text.sample+0x32): dangerous relocation: %pcrel_lo missing matching %pcrel_hi

i was hoping the RISC-V binary problem was only regarding adding new sections, but does it also just not work for modifying symbols ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants