Re: [PATCH 47/48] objtool: Improve and simplify prefix symbol detection
From: Josh Poimboeuf
Date: Thu Apr 23 2026 - 11:27:08 EST
On Thu, Apr 23, 2026 at 10:55:20AM +0200, Peter Zijlstra wrote:
> 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.
Hm, but those already have __cfi_ symbols, no?
--
Josh