commit | 4116e5d15815d04c1c77648ed8eda84724fc55cc | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Wed Apr 05 14:11:29 2023 +0100 |
committer | Michael Brown <mcb30@ipxe.org> | Mon Apr 10 16:50:10 2023 +0100 |
tree | 5d1706f9343bed68cf44ca2622a5b074fd9ab9a2 | |
parent | e45c37aff31581b0530233e55b5c57d05b2f747c [diff] |
[efi] Write out PE header only after writing sections Hybrid bzImage and UEFI binaries (such as wimboot) include a bzImage header within a section starting at offset zero, with the PE header effectively occupying unused space within this section. Allow for this by deferring the writing of the PE header until after the output sections have been written. Signed-off-by: Michael Brown <mcb30@ipxe.org>