[syslinux] [PATCH v2 0/4] efi: PE header generation fix
Celelibi
celelibi at gmail.com
Sun Dec 1 14:14:01 PST 2013
Here are the fix as suggested.
For patch 2/4 I chosed to hardcore the value 512 instead of computing the
fittest needed value. There are 3 reasons for that.
- The header size may not need to be bigger than this in a near future.
- There is an test in case increasing the header size would be needed.
- It would make the code quite more complex to keep a consistent value
for all the fields when the header size is not known from start.
Celelibi (4):
efi: Fix PE header field rva_and_sizes_nr
efi: Location, size and alignment of .text section
efi: Useless relocations in PE file
efi: PE file size differ from in-memory size
efi/i386/syslinux.ld | 4 +-
efi/wrapper.c | 210 +++++++++++++++++--------------------------------
efi/wrapper.h | 28 ++++---
efi/x86_64/syslinux.ld | 4 +-
4 files changed, 91 insertions(+), 155 deletions(-)
--
1.8.4.3
More information about the Syslinux
mailing list