Peter Zijlstra
authored
Boris reported that in one of his randconfig builds, objtool got infinitely stuck. Turns out there's trivial list corruption in the pv_ops tracking when a function is both in a static table and in a code assignment. Avoid re-adding function to the pv_ops[] lists when they're already on it. Fixes: db2b0c5d ("objtool: Support pv_opsindirect calls for noinstr") Reported-by:Borislav Petkov <bp@alien8.de> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by:
Borislav Petkov <bp@suse.de> Tested-by:
Borislav Petkov <bp@alien8.de> Link: https://lkml.kernel.org/r/20211202204534.GA16608@worktop.programming.kicks-ass.net
Forked from
BeagleBoard.org / Linux
265636 commits behind the upstream repository.
Name | Last commit | Last update |
---|---|---|
.. | ||
Documentation | ||
arch/x86 | ||
include/objtool | ||
.gitignore | ||
Build | ||
Makefile | ||
builtin-check.c | ||
builtin-orc.c | ||
check.c | ||
elf.c | ||
objtool.c | ||
orc_dump.c | ||
orc_gen.c | ||
special.c | ||
sync-check.sh | ||
weak.c |