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

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