Re: [PATCH v4 0/7] x86/boot: Remove runtime relocations from compressed kernel

Arvind Sankar
2020-07-14T21:07:51Z

On Tue, Jul 14, 2020 at 10:43:11PM +0200, Sedat Dilek wrote:
> If we move to LDFLAGS_vmlinux we can drop the "call ld-option" as both
> linker GNU/ld.bfd and LLVM/lld.ld support this?

No, because ld.bfd only started supporting it from v2.26, and the kernel
aims to be buildable with v2.23.

>
> Do we need to adjust the comments?
> # Compressed kernel should be built as PIE since it may be loaded at any
> # address by the bootloader
>

It looks fine, no?