commit | 37818b3d8711d2ae33dbdfbf04cc8a3546625cc5 | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Mon Apr 10 15:21:20 2023 +0100 |
committer | Michael Brown <mcb30@ipxe.org> | Mon Apr 10 16:50:10 2023 +0100 |
tree | 394f28386909eceb679d1c6f0ea123e64edfe9ea | |
parent | 4116e5d15815d04c1c77648ed8eda84724fc55cc [diff] |
[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>