[PATCH 0/5] PE/COFF: assorted adjustments

Jan Beulich jbeulich@suse.com
Fri May 6 06:53:08 GMT 2022


In the Xen Project we link the hypervisor both an an ELF binary and
as a native EFI one, all from largely the same (ELF) objects. On
top of earlier changes to make certain variants thereof (like
including debug in the EFI binary) a few more issues were noticed,
most related to the stripping of such binaries.

1: don't over-align file positions of PE executable sections
2: COFF: make objcopy / strip honor --keep-file-symbols
3: COFF/PE: don't leave zero timestamp after objcopy / strip
4: COFF/PE: keep linker version during objcopy / strip
5: COFF: use hash for string table also when copying / stripping

Jan



More information about the Binutils mailing list