x86/boot: Drop PE/COFF .reloc section
authorArd Biesheuvel <ardb@kernel.org>
Fri, 15 Sep 2023 17:16:30 +0000 (17:16 +0000)
committerIngo Molnar <mingo@kernel.org>
Sun, 17 Sep 2023 17:48:43 +0000 (19:48 +0200)
commitfa5750521e0a4efbc1af05223da9c4bbd6c21c83
tree737a235e829e26cf3b9441f5784202a13b69d112
parentefa089e63b56bdc5eca754b995cb039dd7a5457e
x86/boot: Drop PE/COFF .reloc section

Ancient buggy EFI loaders may have required a .reloc section to be
present at some point in time, but this has not been true for a long
time so the .reloc section can just be dropped.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230915171623.655440-16-ardb@google.com
arch/x86/boot/header.S
arch/x86/boot/setup.ld
arch/x86/boot/tools/build.c