Re: [PATCH] x86/boot/compressed: Fix compressed kernel linking with lld

From: Kees Cook
Date: Sun Feb 23 2020 - 17:01:04 EST


On Sat, Feb 22, 2020 at 1:01 PM 'Fangrui Song' via Clang Built Linux
<clang-built-linux@xxxxxxxxxxxxxxxx> wrote:
> https://github.com/torvalds/linux/commit/83a092cf95f28696ddc36c8add0cf03ac034897f
> added -Wl,--orphan-handling=warn to arch/powerpc/Makefile .
> x86 can follow if that is appropriate.

I've been playing with a series to do this, here:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=linker/orphans/x86-arm

There's some work to be done still...

--
Kees Cook