Re: [PATCH 34/48] objtool: Consolidate file decoding into decode_file()

Song Liu
2026-04-24T22:16:41Z

On Thu, Apr 23, 2026 at 1:42 AM Peter Zijlstra <peterz@infradead.org> wrote:
>
> On Wed, Apr 22, 2026 at 09:04:02PM -0700, Josh Poimboeuf wrote:
> > decode_sections() relies on CFI and cfi_hash initialization done
> > separately in check(), making it unusable outside of check().
> >
> > Consolidate the initialization into decode_sections() and rename it to
> > decode_file(), and make it global along with free_insns() and
> > insn_reloc() for use by other objtool components -- namely, the checksum
> > code which will be moving to another file.
> >
> > Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
>
> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>

Acked-by: Song Liu <song@kernel.org>