Re: [PATCH 47/48] objtool: Improve and simplify prefix symbol detection
From: Peter Zijlstra
Date: Thu Apr 23 2026 - 04:55:43 EST
On Wed, Apr 22, 2026 at 09:04:15PM -0700, Josh Poimboeuf wrote:
> Only create prefix symbols for functions that have
> __patchable_function_entries entries, since those are the only functions
> where prefix NOPs are intentional.
__CFI_TYPE() as used in SYM_TYPED_ENTRY() will also generate the NOPs
but will not have __patchable_function_entries, because ASM not
compiler.