+47
−5
+4
−1
Loading
In preparation for klp-build, enable "classic" objtool to work on
livepatch modules:
- Avoid duplicate symbol/section warnings for prefix symbols and the
.static_call_sites and __mcount_loc sections which may have already
been extracted by klp diff.
- Add __klp_funcs to the IBT function pointer section whitelist.
- Prevent KLP symbols from getting incorrectly classified as cold
subfunctions.
Acked-by:
Petr Mladek <pmladek@suse.com>
Tested-by:
Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by:
Josh Poimboeuf <jpoimboe@kernel.org>