summaryrefslogtreecommitdiff
path: root/tools/objtool/include
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2026-03-04 19:31:20 -0800
committerJosh Poimboeuf <jpoimboe@kernel.org>2026-03-06 07:53:36 -0800
commit356e4b2f5b80f757965f3f4d0219c81fca91b6f2 (patch)
tree8c192580c3fddec982fff6d75f896258bbcef980 /tools/objtool/include
parent32234049107d012703d50547e815f198f147968b (diff)
objtool: Fix data alignment in elf_add_data()
Any data added to a section needs to be aligned in accordance with the section's sh_addralign value. Particularly strings added to a .str1.8 section. Otherwise you may get some funky strings. Fixes: dd590d4d57eb ("objtool/klp: Introduce klp diff subcommand for diffing object files") Link: https://patch.msgid.link/d962fc0ca24fa0825cca8dad71932dccdd9312a9.1772681234.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/objtool/include')
0 files changed, 0 insertions, 0 deletions