+2
−1
Loading
Commit 356e4b2f ("objtool: Fix data alignment in elf_add_data()") corrected the alignment of data within a section (honoring the section's sh_addralign). Apply the same alignment when klp-diff mode clones a symbol, adjusting the new symbol's offset for the output section's sh_addralign. Fixes: dd590d4d ("objtool/klp: Introduce klp diff subcommand for diffing object files") Signed-off-by:Joe Lawrence <joe.lawrence@redhat.com> Link: https://patch.msgid.link/20260310203751.1479229-2-joe.lawrence@redhat.com Signed-off-by:
Josh Poimboeuf <jpoimboe@kernel.org>