objtool: Add STT_NOTYPE noinstr validation
authorPeter Zijlstra <peterz@infradead.org>
Mon, 23 Mar 2020 17:26:03 +0000 (18:26 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2020 08:53:51 +0000 (10:53 +0200)
commit932f8e987bfdcfc2365177978a30fdc0d6f6bd60
tree65c257e4e020a6034510d99f7205f2e5fa4896a5
parent4b5e2e7ffef87ae864f3f4546ee5753556e7550b
objtool: Add STT_NOTYPE noinstr validation

Make sure to also check STT_NOTYPE symbols for noinstr violations.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20200416115119.465335884@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/check.c