]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r352730:
authorMitchell Horne <mhorne@FreeBSD.org>
Sat, 2 Nov 2019 19:50:36 +0000 (19:50 +0000)
committerMitchell Horne <mhorne@FreeBSD.org>
Sat, 2 Nov 2019 19:50:36 +0000 (19:50 +0000)
commitc1179c813061f3dc9fa4d12610523cf81ea03b0e
treee27045f6b08be71475a6c11b0a51a2d672373bc0
parentf271175a9e042df0147bfb544647bfdbc5bcef65
MFC r352730:

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
Differential Revision: https://reviews.freebsd.org/D21773
sys/riscv/riscv/elf_machdep.c