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

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