Re: [PATCH v2 18/53] objtool/klp: Simplify reloc symbol conversion
Song Liu <[email protected]>
| Newsgroups | org.kernel.vger.live-patching,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAPhsuW7Kcc0a1RYoynrq3U7S1+1B3AX3OCovGa2bs-NgpRoJ2w@mail.gmail.com> |
On Fri, May 1, 2026 at 5:09 AM Josh Poimboeuf <[email protected]> wrote: > > Inline section_reference_needed() and is_reloc_allowed() into > convert_reloc_sym() and remove the redundant is_reloc_allowed() check in > clone_reloc(). > > Move the is_sec_sym() checks into the convert callees so they become > no-ops when the reloc is already in the right format. This allows > convert_reloc_sym() to unconditionally dispatch to the right converter > based on section type. > > Signed-off-by: Josh Poimboeuf <[email protected]> Acked-by: Song Liu <[email protected]>