Re: [PATCH v2 27/28] x86, relocs: Ignore L4_PAGE_OFFSET relocations
From: Kees Cook
Date: Thu Sep 03 2020 - 18:47:40 EST
On Thu, Sep 03, 2020 at 01:30:52PM -0700, Sami Tolvanen wrote:
> L4_PAGE_OFFSET is a constant value, so don't warn about absolute
> relocations.
>
> Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
Any other details on this? I assume this is an ld.lld-ism. Any idea why
this is only a problem under LTO? (Or is this an LLVM integrated
assembler-ism?) Regardless, yes, let's nail it down:
Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
--
Kees Cook