I had these patches fixing [1] laying in my local branch for a while. The key problem was that sections were not in the same order in section table as their VMAs and the '.compat' section virtual size was not aligned on section alignment. [1] https://lore.kernel.org/linux-efi/CAHzAAWQ6srV6LVNdmfbJhOwhBw5ZzxxZZ07aHt9oKkfYAdvuQQ@xxxxxxxxxxxxxx/T/#u Evgeniy Baskov (2): x86/boot: Order sections by their RVAs x86/boot: Align .compat virtual size arch/x86/boot/header.S | 58 +++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 29 deletions(-) -- 2.43.0