Re: [PATCH v2 35/62] objtool: Refactor add_jump_destinations()

2025-06-04 Thread Josh Poimboeuf
On Fri, May 23, 2025 at 07:46:19AM -0400, Joe Lawrence wrote: > > - } else if (reloc->sym->sec->idx) { > > - dest_sec = reloc->sym->sec; > > - dest_off = reloc->sym->sym.st_value + > > - arch_dest_reloc_offset(reloc_addend(r

Re: [PATCH v2 35/62] objtool: Refactor add_jump_destinations()

2025-05-23 Thread Joe Lawrence
On 5/9/25 4:16 PM, Josh Poimboeuf wrote: > The add_jump_destinations() logic is a bit weird and convoluted after > being incrementally tweaked over the years. Refactor it to hopefully be > more logical and straightforward. > > Signed-off-by: Josh Poimboeuf > --- > tools/objtool/check.c

[PATCH v2 35/62] objtool: Refactor add_jump_destinations()

2025-05-09 Thread Josh Poimboeuf
The add_jump_destinations() logic is a bit weird and convoluted after being incrementally tweaked over the years. Refactor it to hopefully be more logical and straightforward. Signed-off-by: Josh Poimboeuf --- tools/objtool/check.c | 227 +--- tools/objtool