]> git.baikalelectronics.ru Git - kernel.git/commit
objtool: Handle __sanitize_cov*() tail calls
authorPeter Zijlstra <peterz@infradead.org>
Thu, 24 Jun 2021 09:41:02 +0000 (11:41 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 15 Sep 2021 13:51:45 +0000 (15:51 +0200)
commit2dc7a59ceb9f8472c1c385f492de3801997dffde
tree3872145874915b709878911e16fe90c9ddef267b
parent8dc5c196cc9ad02b13702dc3134124f67d0ee58a
objtool: Handle __sanitize_cov*() tail calls

Turns out the compilers also generate tail calls to __sanitize_cov*(),
make sure to also patch those out in noinstr code.

Fixes: e91a88672155 ("objtool: Fix noinstr vs KCOV")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Marco Elver <elver@google.com>
Link: https://lore.kernel.org/r/20210624095147.818783799@infradead.org
tools/objtool/arch/x86/decode.c
tools/objtool/check.c
tools/objtool/include/objtool/arch.h