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
Unknown Object (File)
Thu, Jan 23, 11:48 AM
Unknown Object (File)
Sat, Jan 18, 9:29 PM
Unknown Object (File)
Thu, Jan 2, 10:49 PM
Unknown Object (File)
Dec 5 2024, 10:21 PM
Unknown Object (File)
Dec 3 2024, 5:14 PM
Unknown Object (File)
Nov 24 2024, 7:42 PM
Unknown Object (File)
Nov 16 2024, 8:50 AM
Unknown Object (File)
Nov 16 2024, 7:46 AM
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