Use elf_relocaddr() to find the address for R_RISCV_RELATIVE
relocation.
elf_relocaddr() has a hook to handle VIMAGE data addresses.
This fixes VIMAGE support for RISC-V when built as a module.
Approved by: re (gjb)
Sponsored by: DARPA, AFRL
Use elf_relocaddr() to find the address for R_RISCV_RELATIVE Tags None Referenced Files None Subscribers None
Description
Details
|