mbox series

[0/8] x86/EFI: build adjustments

Message ID b327185f-db31-50c8-ec76-6ef8f2fcfdfd@suse.com (mailing list archive)
Headers show
Series x86/EFI: build adjustments | expand

Message

Jan Beulich April 1, 2021, 9:43 a.m. UTC
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

Comments

Jan Beulich April 15, 2021, 9:53 a.m. UTC | #1
On 01.04.2021 11:43, Jan Beulich wrote:
> 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

Only the first patch here has been acked (and has gone in). Any chance
of getting acks (or otherwise) for the rest?

Thanks, Jan