objtool: Add mark_sec_changed()
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 30 May 2023 17:20:58 +0000 (10:20 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 7 Jun 2023 17:03:16 +0000 (10:03 -0700)
commitff4082730c2aaff3706232266e09d1ae4b350521
tree6a09f7b452ad09c0668d20670f21abc406c7e3ef
parenteb0481bbc4ce386e73e28ad8590b4f12c8aded56
objtool: Add mark_sec_changed()

Ensure elf->changed always gets set when sec->changed gets set.

Link: https://lore.kernel.org/r/9a810a8d2e28af6ba07325362d0eb4703bb09d3a.1685464332.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/elf.c
tools/objtool/include/objtool/elf.h