This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compile error when using newer version ecos configuration tool

[Get raw message]
On Mon, Nov 12, 2001 at 02:46:38PM -0700, Trenton D. Adams wrote:
> I don't know what it stands for, but I know what it's used for.
> 
> Here's a quote from a Technical Article from MSDN which should be
> relevant since bss is the same for ELF binaries as it is for PE binaries
> as far as I know! :)
> 
> 
> The size of the sections that the loader commits space for in the
> virtual address space, but that don't take up any space in the disk
> file. These sections don't need to have specific values at program
> startup, hence the term uninitialized data. Uninitialized data usually
> goes into a section called .bss.

Off topic but...

It seems the ELF spec specifies the .bss section is initialized to
zero. Where as what you say about PE is that the contents are not
initialized. Something to remember when writing portable code!

       Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]