Re: [PATCH v6 22/25] x86/asm: annotate indirect jumps
From: Peter Zijlstra
Date: Thu Oct 15 2020 - 06:22:45 EST
On Thu, Oct 15, 2020 at 01:23:41AM +0200, Jann Horn wrote:
> It would probably be good to keep LTO and non-LTO builds in sync about
> which files are subjected to objtool checks. So either you should be
> removing the OBJECT_FILES_NON_STANDARD annotations for anything that
> is linked into the main kernel (which would be a nice cleanup, if that
> is possible),
This, I've had to do that for a number of files already for the limited
vmlinux.o passes we needed for noinstr validation.