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
F140299355: D46517.id143203.diff
Mon, Dec 22, 11:09 AM
Unknown Object (File)
Sat, Dec 20, 9:51 PM
Unknown Object (File)
Sat, Dec 20, 10:57 AM
Unknown Object (File)
Sat, Dec 20, 1:03 AM
Unknown Object (File)
Wed, Dec 3, 6:01 AM
Unknown Object (File)
Sun, Nov 23, 7:44 AM
Unknown Object (File)
Oct 29 2025, 12:48 PM
Unknown Object (File)
Oct 29 2025, 12:48 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