]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Treat 16-bit sections as hidden in hybrid binaries
authorMichael Brown <mcb30@ipxe.org>
Fri, 24 Nov 2023 12:16:49 +0000 (12:16 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 24 Nov 2023 12:16:49 +0000 (12:16 +0000)
commit18582a05fc65fc8835220c27528ef8902f5da60e
tree1cb8afcd1ae4efce2e1c269ae442dfa47a1ac7bc
parent6714b20ea20af5046cdb36b58ab777b55a3c003c
[efi] Treat 16-bit sections as hidden in hybrid binaries

Hybrid bzImage and UEFI binaries (such as wimboot) may include 16-bit
sections such as .bss16 that do not need to consume an entry in the PE
section list.  Treat any such sections as hidden.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/util/elf2efi.c