objtool: Remove redundant 'len' field from struct section
The section structure already contains sh_size, so just remove the extra 'len' member that requires extra mirroring and potential confusion. Suggested-by:Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by:
Joe Lawrence <joe.lawrence@redhat.com> Reviewed-by:
Miroslav Benes <mbenes@suse.cz> Signed-off-by:
Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lore.kernel.org/r/20210822225037.54620-3-joe.lawrence@redhat.com Cc: Andy Lavr <andy.lavr@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: x86@kernel.org Cc: linux-kernel@vger.kernel.org
Showing
- tools/objtool/check.c 8 additions, 8 deletionstools/objtool/check.c
- tools/objtool/elf.c 6 additions, 8 deletionstools/objtool/elf.c
- tools/objtool/include/objtool/elf.h 0 additions, 1 deletiontools/objtool/include/objtool/elf.h
- tools/objtool/orc_gen.c 1 addition, 1 deletiontools/objtool/orc_gen.c
- tools/objtool/special.c 2 additions, 2 deletionstools/objtool/special.c
Loading
Please register or sign in to comment