]> git.ipfire.org Git - thirdparty/linux.git/commit
objtool: Remove flags argument from elf_create_section()
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 30 May 2023 17:20:54 +0000 (10:20 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 7 Jun 2023 17:03:13 +0000 (10:03 -0700)
commit2707579dfa615a5dda4aabb92e433f03a87b5ec5
tree4eec409e0cf0dda31142db53fbda729f5bcef16d
parent809373e17b2649948cc681dd1962b2736b22c7a6
objtool: Remove flags argument from elf_create_section()

Simplify the elf_create_section() interface a bit by removing the flags
argument.  Most callers don't care about changing the section header
flags.  If needed, they can be modified afterwards, just like any other
section header field.

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