HomeFreeBSD

Fix some broken relocation handling

Description

Fix some broken relocation handling

In a few cases, the symbol lookup is missing before attempting to
perform the relocation. While the relocation types affected are
currently unused, this results in an uninitialized variable warning,
that is escalated to an error when building with clang.

Reviewed by: markj
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D21773

Details

Provenance
mhorneAuthored on
Reviewer
markj
Differential Revision
D21773: RISC-V: fix some broken relocation handling
Parents
rS352729: Cleanup of elf_machdep.c
Branches
Unknown
Tags
Unknown