Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2121207
Conflicts:
arch/x86/include/asm/ibt.h
- A previous rhel9 partial backport updated this file. This
commit completes the backport by adding the
tools/objtool/check.c updates.
commit e27e5bea956ce4d3eb15112de5fa5a3b77c2f488
Author: Josh Poimboeuf <jpoimboe@kernel.org>
Date: Thu Aug 18 14:39:27 2022 -0700
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>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>