Re: [PATCH RFC 00/43] x86/pie: Make kernel image's virtual address flexible

From: Peter Zijlstra
Date: Fri Apr 28 2023 - 11:22:30 EST



For some raison I didn't get 0/n but did get all of the others. Please
keep your Cc list consistent.

On Fri, Apr 28, 2023 at 05:50:40PM +0800, Hou Wenlong wrote:

> - It is not allowed to reference global variables in an alternative
> section since RIP-relative addressing is not fixed in
> apply_alternatives(). Fortunately, all disallowed relocations in the
> alternative section can be captured by objtool. I believe that this
> issue can also be fixed by using objtool.

https://lkml.kernel.org/r/Y9py2a5Xw0xbB8ou@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx