From: fjh@cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: Size of smallest program
6 Dec 1996 08:03:05 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199612061520.CAA16680.cygnus.gnu-win32@murlibobo.cs.mu.OZ.AU>
Content-Type: text
Original-To: gunther.ebert@ixos-leipzig.de (Gunther Ebert)
Original-Cc: gnu-win32@cygnus.com (gnu-win32)
In-Reply-To: <32A6858A.E41@ixos-leipzig.de> from "Gunther Ebert" at Dec 5, 96 09:19:22 am
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: owner-gnu-win32@cygnus.com

Gunther Ebert wrote:
> 
> The section sizes are
> .text   1024
> .bss      24 (!)
> .data    512
> .idata   512
> 
> The size of headers is 1024.
> 
> (I don't understand that, adding all sizes I get 3096, but the
> executable file
> size is 3072, hello Cygnus, is there something wrong?)

The .bss section is uninitialized (or rather zero-initialized) data,
hence the executable file just stores its size, not its contents.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
