diff options
| author | Josh Poimboeuf <jpoimboe@kernel.org> | 2025-09-17 09:03:49 -0700 |
|---|---|---|
| committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2025-10-14 14:46:48 -0700 |
| commit | 431dbabf2d9dd27cd597a9d1d4611e7ae64bf8bd (patch) | |
| tree | 4bad054ecc07e9d19879f2313cff8181eb5506d7 /include/linux/annotate.h | |
| parent | 243e96385368fc5e31da4e9927a201a27a2ae936 (diff) | |
objtool: Add elf_create_data()
In preparation for the objtool klp diff subcommand, refactor
elf_add_string() by adding a new elf_add_data() helper which allows the
adding of arbitrary data to a section.
Make both interfaces global so they can be used by the upcoming klp diff
code.
Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'include/linux/annotate.h')
0 files changed, 0 insertions, 0 deletions
