[efi] Use load memory address as file offset for PE sections

Mimic the behaviour of "objcopy -Obinary" by using the load memory
address (extracted from the ELF program headers) to determine the
physical placement of the section within the resulting PE file.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
1 file changed
tree: 394f28386909eceb679d1c6f0ea123e64edfe9ea
  1. .github/
  2. contrib/
  3. src/
  4. COPYING
  5. COPYING.GPLv2
  6. COPYING.UBDL
  7. README