Closed romainthomas closed 2 weeks ago
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 ?
Should be available now
LIEF should be able to write-back RISC-V binaries while currently it only supports parsing.