Re: [PATCH v2 52/62] objtool/klp: Introduce klp diff subcommand for diffing object files

2025-05-14 Thread laokz
On 5/14/2025 4:45 AM, Josh Poimboeuf wrote: On Tue, May 13, 2025 at 10:49:59PM +0800, laokz wrote: On 5/10/2025 4:17 AM, Josh Poimboeuf wrote: + +#define sym_for_each_reloc(elf, sym, reloc)\ + for (reloc = find_reloc_by_dest_range(elf, sym->

Re: [PATCH v2 52/62] objtool/klp: Introduce klp diff subcommand for diffing object files

2025-05-13 Thread laokz
ons for the same offset, the returned one would be the last one in section entry order(hash list has reverse order against section order), then broken the intention. Right? Thanks, laokz

Re: [RFC 31/31] objtool, livepatch: Livepatch module generation

2024-09-11 Thread laokz
architecture relocation types all together looks a little error prone. Regards, laokz

Re: [RFC 21/31] objtool: Fix x86 addend calcuation

2024-09-04 Thread laokz
On Mon, 2024-09-02 at 21:00 -0700, Josh Poimboeuf wrote: > arch_dest_reloc_offset() hard-codes the addend adjustment to 4, which > isn't always true.  In fact it's dependent on the instruction itself. > > Signed-off-by: Josh Poimboeuf > --- >  tools/objtool/arch/loongarch/decode.c |  4 ++-- >  to