Blame SOURCES/0001-Fix-a-broken-file-header-on-ia32.patch

4a1067
From 1bea91ba72165d97c3b453cf769cb4bc5c07207a Mon Sep 17 00:00:00 2001
4a1067
From: Peter Jones <pjones@redhat.com>
4a1067
Date: Wed, 31 Mar 2021 14:54:52 -0400
4a1067
Subject: [PATCH] Fix a broken file header on ia32
4a1067
4a1067
Commit c6281c6a195edee61185 needs to have included a ". = ALIGN(4096)"
4a1067
directive before .reloc, but fails to do so.
4a1067
4a1067
As a result, binutils, which does not care about the actual binary
4a1067
format's constraints in any way, does not enforce the section alignment,
4a1067
and it will not load.
4a1067
4a1067
Signed-off-by: Peter Jones <pjones@redhat.com>
4a1067
---
4a1067
 elf_ia32_efi.lds | 1 +
4a1067
 1 file changed, 1 insertion(+)
4a1067
4a1067
diff --git a/elf_ia32_efi.lds b/elf_ia32_efi.lds
4a1067
index 742e0a47a73..497a3a15265 100644
4a1067
--- a/elf_ia32_efi.lds
4a1067
+++ b/elf_ia32_efi.lds
4a1067
@@ -15,6 +15,7 @@ SECTIONS
4a1067
    *(.gnu.linkonce.t.*)
4a1067
    _etext = .;
4a1067
   }
4a1067
+  . = ALIGN(4096);
4a1067
   .reloc :
4a1067
   {
4a1067
    *(.reloc)
4a1067
-- 
4a1067
2.30.2
4a1067