> On Mon, Oct 12, 2026 at 02:04:25AM -0700, Kees Cook wrote: >> The "cs" prefix on the LEA in the FineIBT paranoid caller template is >> padding: it places the LEA's 0xf0 immediate byte where it doubles as the >> LOCK prefix that makes the failing Jcc raise #UD. GNU as warns about it >> in every CONFIG_FINEIBT=y build: >> >> Warning: segment override on `lea' is ineffectual > Shees...
This is a binutils bug. Can't we fix it here? The claim in the warning is simply not true. This is an example where it absolutely does matter, and it also matters for legibility that we can avoid writing raw hex. ~Andrew

