diff options
| author | Peter Jones <pjones@redhat.com> | 2021-03-31 14:54:52 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-04-09 15:19:56 -0400 |
| commit | 5b3ca0d2f7b5f425ba1a14db8ce98b8d95a2f89f (patch) | |
| tree | c4dd94d51de1494b8c17a4efcb08560f421f14a8 | |
| parent | a0f701501f73a0aabd1ef8d568183d05611b0a52 (diff) | |
| download | efi-boot-shim-5b3ca0d2f7b5f425ba1a14db8ce98b8d95a2f89f.tar.gz efi-boot-shim-5b3ca0d2f7b5f425ba1a14db8ce98b8d95a2f89f.zip | |
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>
| -rw-r--r-- | elf_ia32_efi.lds | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
