[Devel] [PATCH hci-8.1 09/14] ms/objtool/klp: fix data alignment in __clone_symbol()

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Tue Dec 1 03:39:53 MSK 2026


> From: Joe Lawrence <joe.lawrence at redhat.com>
> 
> 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 at redhat.com>
> Link: https://patch.msgid.link/20260310203751.1479229-2-joe.lawrence@redhat.com
> Signed-off-by: Josh Poimboeuf <jpoimboe at kernel.org>
> (cherry picked from commit 2f2600decb3004938762a3f2d0eba3ea9e01045b)
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-157133
> Feature: klp-build support
> Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>

Sashiko has reviewed this patch and found no issues.

Carry the trailer below into the next revision and Sashiko will not review this patch again.

Reviewed-by: Sashiko <no-reply at sashiko.virtuozzo.com>

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261126-khorenko-vstor-157133-klp-and-kvm-fixes-v1-0-0ec8eaadf1bc@virtuozzo.com?part=9




More information about the Devel mailing list