weirdly large filesize of winegcc generated shared object
Dmitry Timoshkov
dmitry at baikal.ru
Fri Feb 17 08:28:09 CST 2012
Pengyu CHEN <cpy.prefers.you at gmail.com> wrote:
> > PE header needs to be aligned in a 64k boundary, and compiler fills
> > remaining space with zeros.
>
> Thank you Dmitry, and now I'm clear with that.
> Yet another question here. I've just check the msdn page and found 64K is
> actually the maximum possible value of SectionAlignment and FileAlignment,
> then why must we choose the maximum one or it is just like this?
PE header marks the beginning of a PE module in memory, and it needs to be
aligned on allocation granularity.
--
Dmitry.
More information about the wine-devel
mailing list