On Wed, Apr 22, 2026 at 9:04 PM Josh Poimboeuf <[email protected]> wrote: > > If an object file has no functions, objtool has nothing to checksum, so > it doesn't create the .discard.sym_checksum symbol. > > Then when 'objtool klp diff' reads symbol checksums, it errors out due > to the missing .discard.sym_checksum section. > > Instead, just create an empty checksum section to signal to > read_sym_checksums() that the file has been processed. > > Signed-off-by: Josh Poimboeuf <[email protected]>
Acked-by: Song Liu <[email protected]>

