Page MenuHomeFreeBSD

kldxref: Don't warn and skip file if no relocations are found
ClosedPublic

Authored by jrtc27 on Sep 2 2024, 9:52 PM.
Tags
None
Referenced Files
F102711995: D46517.diff
Sat, Nov 16, 5:24 AM
Unknown Object (File)
Sat, Oct 26, 1:56 AM
Unknown Object (File)
Thu, Oct 24, 11:19 AM
Unknown Object (File)
Thu, Oct 24, 8:09 AM
Unknown Object (File)
Mon, Oct 21, 1:52 PM
Unknown Object (File)
Oct 5 2024, 1:31 AM
Unknown Object (File)
Sep 28 2024, 8:29 AM
Unknown Object (File)
Sep 27 2024, 4:18 PM
Subscribers

Details

Summary

This case is hit for the kernel itself on riscv64, and did not used to
be checked. Since the code here can already handle missing Elf_Rel
and/or Elf_Rela just delete the check.

Fixes: 0299afdff145 ("kldxref: Make use of libelf to be a portable cross tool")
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable