Re: vmlinux.o: warning: objtool: mce_wrmsrl.constprop.0()+0x6b: call to __sanitizer_cov_trace_pc() leaves .noinstr.text section
From: Borislav Petkov
Date: Fri Sep 03 2021 - 05:54:06 EST
On Fri, Sep 03, 2021 at 11:23:36AM +0200, Peter Zijlstra wrote:
> So I was wondering why they'd show up in any case, since objtool is
> supposed to NOP them, but then I remembered I still have this patch
> pending:
>
> https://lore.kernel.org/r/20210624095147.818783799@xxxxxxxxxxxxx
>
> Which I suspect will cure that for older GCC.
Yah, works with gcc-10 here too.
Tested-by: Borislav Petkov <bp@xxxxxxx>
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette