HomeFreeBSD

riscv: fix relocation handling for R_RISCV_64

Description

riscv: fix relocation handling for R_RISCV_64

It requires the addend. In practice this doesn't seem to be a problem,
since relocations of this type are all with an addend of zero.
Obviously, we still want to handle this correctly if that ever changes.

Reviewed by: markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37039

Details

Provenance
mhorneAuthored on Oct 20 2022, 2:56 PM
Reviewer
markj
Differential Revision
D37039: riscv: fix relocation handling for R_RISCV_64
Parents
rGfc4c39c54fc2: kldxref: handle R_RISCV_64 relocation
Branches
Unknown
Tags
Unknown