Re: [PATCH v4 01/15] objtool: Add CONFIG_CFI_CLANG support

From: Josh Poimboeuf
Date: Tue Oct 05 2021 - 23:36:37 EST


On Thu, Sep 30, 2021 at 11:05:17AM -0700, Sami Tolvanen wrote:
> With CONFIG_CFI_CLANG, the compiler replaces function references with
> references to the CFI jump table, which confuses objtool. This change,
> based on Josh's initial patch [1], goes through the list of relocations
> and replaces jump table symbols with the actual function symbols.
>
> [1] https://lore.kernel.org/r/d743f4b36e120c06506567a9f87a062ae03da47f.1611263462.git.jpoimboe@xxxxxxxxxx/

I found the original patch description to be much more useful than this
one ;-)

--
Josh