This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: SizeOfImage calculation for PECOFF
- From: DJ Delorie <dj at delorie dot com>
- To: jnaset at rsn dot hp dot com
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 26 Mar 2002 17:52:11 -0500
- Subject: Re: SizeOfImage calculation for PECOFF
- References: <937E239C-410A-11D6-82E7-0003930EBE94@rsn.hp.com>
> ... Size, in bytes, of image, including all headers; must be a multiple
> of section alignment. ...
It's not clear if they're talking about the file image or the memory
image, though. There aren't any headers in a memory image, and the
calculations are correct for a file image. Can anyone generate a PEI
image with MSVC that has big holes in it, and see what it does?