[PATCH 0/8] x86/EFI: build adjustments

Jan Beulich posted 8 patches 1 week, 5 days ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/b327185f-db31-50c8-ec76-6ef8f2fcfdfd@suse.com

[PATCH 0/8] x86/EFI: build adjustments

Posted by Jan Beulich 1 week, 5 days ago
So far we've taken care of just the immediate breakage caused by
binutils 2.36. But we can also take advantage, in particular to
avoid "manually" creating base relocations for xen.efi. Since it
was requested and is possible with up-to-date binutils, inclusion
of debug info in xen.efi is another part here. The other changes
here are cleanup related to both the work here as well as the one
to make binutils fit for our purposes.

1: EFI: drop stale section special casing when generating base relocs
2: EFI: sections may not live at VA 0 in PE binaries
3: EFI: program headers are an ELF concept
4: EFI: redo .reloc section bounds determination
5: drop use of prelink-efi.o
6: EFI: avoid use of GNU ld's --disable-reloc-section when possible
7: EFI: keep debug info in xen.efi
8: EFI: don't have an overly large image size

Jan