mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-10-04 19:27:19 +00:00
Add one more patch from upstream to fix i386 binary relocations
This commit is contained in:
parent
a42e843a73
commit
f81081d61b
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -4,6 +4,7 @@ shim (15.4-1) unstable; urgency=medium
|
||||
* Print sha256 checksums of the EFI binaries when the build is done,
|
||||
for easier comparison between builds.
|
||||
* Override dh_auto_build setting INSTALL, cut down on build noise.
|
||||
* Add one more patch from upstream to fix i386 binary relocations
|
||||
|
||||
-- Steve McIntyre <93sam@debian.org> Wed, 31 Mar 2021 18:25:00 +0100
|
||||
|
||||
|
27
debian/patches/fix-broken-ia32-reloc.patch
vendored
Normal file
27
debian/patches/fix-broken-ia32-reloc.patch
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
commit 1bea91ba72165d97c3b453cf769cb4bc5c07207a
|
||||
Author: Peter Jones <pjones@redhat.com>
|
||||
Date: Wed Mar 31 14:54:52 2021 -0400
|
||||
|
||||
Fix a broken file header on ia32
|
||||
|
||||
Commit c6281c6a195edee61185 needs to have included a ". = ALIGN(4096)"
|
||||
directive before .reloc, but fails to do so.
|
||||
|
||||
As a result, binutils, which does not care about the actual binary
|
||||
format's constraints in any way, does not enforce the section alignment,
|
||||
and it will not load.
|
||||
|
||||
Signed-off-by: Peter Jones <pjones@redhat.com>
|
||||
|
||||
diff --git a/elf_ia32_efi.lds b/elf_ia32_efi.lds
|
||||
index 742e0a47..497a3a15 100644
|
||||
--- a/elf_ia32_efi.lds
|
||||
+++ b/elf_ia32_efi.lds
|
||||
@@ -15,6 +15,7 @@ SECTIONS
|
||||
*(.gnu.linkonce.t.*)
|
||||
_etext = .;
|
||||
}
|
||||
+ . = ALIGN(4096);
|
||||
.reloc :
|
||||
{
|
||||
*(.reloc)
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
@ -0,0 +1 @@
|
||||
fix-broken-ia32-reloc.patch
|
Loading…
Reference in New Issue
Block a user