Re: [PATCH 10/18] objtool: Extricate ibt from stack validation

From: Peter Zijlstra
Date: Thu Apr 14 2022 - 13:01:08 EST


On Thu, Apr 14, 2022 at 08:44:49AM -0700, Josh Poimboeuf wrote:

> Ok. That was subtle, it needs a comment or two. I had the distinct
> feeling I was introducing a bug, then I got distracted ;-)

Right, lemme try and not forget to write one ;-)

> Doesn't the compiler give those special cases ENDBR anyway? Just
> wondering why we avoid the warning for those.

Sure, but this is about not scribbling that ENDBR with a NOP.