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
This commit is contained in:
Ard Biesheuvel 2023-09-15 17:16:30 +00:00 • committed by Ingo Molnar
commit fa5750521e
3 changed files with 7 additions and 51 deletions