]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Avoid emptying lists for duplicate sections
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 17 Sep 2025 16:03:41 +0000 (09:03 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:46:47 +0000 (14:46 -0700)
commit48f1bbaf2655c8178249cf10f1a50fac0a72e467
treefc4995344da877209e9fe52764609c940b23f59c
parenta040ab73dfd1bc8198848a438f77497d8d03fba9
objtool: Avoid emptying lists for duplicate sections

When a to-be-created section already exists, there's no point in
emptying the various lists if their respective sections already exist.
In fact it's better to leave them intact as they might get used later.

Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/check.c