Re: [PATCH 00/10] objtool: Honey, I shrunk the instruction

From: Peter Zijlstra
Date: Fri Feb 10 2023 - 03:59:22 EST


On Thu, Feb 09, 2023 at 11:57:40AM -0800, Josh Poimboeuf wrote:

> To make the last patch legit we could just have reloc_offset(),
> reloc_addend(), reloc_type() helpers to abstract access to rela/rel
> fields.
>
> And I'm sure there are other savings we could do to struct reloc, like
> single-linked lists, bitfields, etc.
>
> Let me know if you want me to do it.

I'll make a start today -- I've got snot pouring out of me, so thinking
isn't going to happen, might as well just do the busy work :-)