> Ideally, this would have been fixed in systemd's EFI stub by setting the virtual size of the .linux PE section to init_size, which would cause the bootloader load the kernel into a buffer large enough, making this additional relocation unnecessary.
I'm not too sure if that is a bug in systemd though. the kernel.efi (and addition of .linux PE section) is never done by systemd, but by other tooling (i.e. core-initrd / dracut / etc).
> Ideally, this would have been fixed in systemd's EFI stub by setting the virtual size of the .linux PE section to init_size, which would cause the bootloader load the kernel into a buffer large enough, making this additional relocation unnecessary.
I'm not too sure if that is a bug in systemd though. the kernel.efi (and addition of .linux PE section) is never done by systemd, but by other tooling (i.e. core-initrd / dracut / etc).