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, Sep 10, 10:52 AM
Unknown Object (File)
Thu, Sep 10, 9:57 AM
Unknown Object (File)
Mon, Sep 7, 9:59 PM
Unknown Object (File)
Sat, Sep 5, 11:50 PM
Unknown Object (File)
Sat, Sep 5, 11:45 PM
Unknown Object (File)
Sat, Sep 5, 11:08 AM
Unknown Object (File)
Sat, Sep 5, 10:38 AM
Unknown Object (File)
Sat, Sep 5, 9:10 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 Passed
Unit
No Test Coverage
Build Status
Buildable 59284
Build 56171: arc lint + arc unit