x86/ibt, objtool: Add IBT_NOSEAL()

Add a macro which prevents a function from getting sealed if there are
no compile-time references to it.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Message-Id: <20220818213927.e44fmxkoq4yj6ybn@treble>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Josh Poimboeuf 2022-08-18 14:39:27 -07:00 • committed by Paolo Bonzini
commit e27e5bea95
2 changed files with 13 additions and 1 deletions