summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJoe Lawrence <joe.lawrence@redhat.com>2026-03-10 16:37:40 -0400
committerJosh Poimboeuf <jpoimboe@kernel.org>2026-03-16 12:39:45 -0700
commit2f2600decb3004938762a3f2d0eba3ea9e01045b (patch)
tree94d94ed566b625a776917bf8f3575d209eb8424d /scripts
parentf338e77383789c0cae23ca3d48adcc5e9e137e3c (diff)
objtool/klp: fix data alignment in __clone_symbol()
Commit 356e4b2f5b80 ("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: dd590d4d57eb ("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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions