[syslinux] [PATCH 4/4] efi: PE file size differ from in-memory size

Matt Fleming matt at console-pimps.org
Fri Nov 29 06:12:01 PST 2013


On Wed, 27 Nov, at 02:38:31PM, Celelibi wrote:
> PE headers code_sz and image_sz indicate more or less, the size of the
> file and the size of the in-memory image. They are now given the right
> value.
> 
> In the ELF format, only the program headers are reliable to determine
> the actually needed part of the file and the in-memory size.
> 
> The .bss section should always be marked as NOLOAD for ld since its
> content shouldn't be included into the binary file.
> 
> Signed-off-by: Celelibi <celelibi at gmail.com>

Looks good.

-- 
Matt Fleming, Intel Open Source Technology Center


More information about the Syslinux mailing list