From: Andrew Crabtree Message-Id: <199705092330.AA112910604@typhoon.rose.hp.com> Subject: Re: .bss ? To: FLEGEL AT physnet DOT uni-hamburg DOT de (Michael Flegel) Date: Fri, 09 May 1997 16:30:04 PDT Cc: djgpp AT delorie DOT com In-Reply-To: ; from "Michael Flegel" at May 9, 97 12:44 (noon) Precedence: bulk > What's the .BSS segment? (or section) Typically (non microsoft here), you have 3 segments .text (code) .data (initialized global data) .bss (uninitialized global data) So int foo = 1; /* .data */ int bar; /* .bss */ I believe that it is common for .bss to be zeroed after it is loaded in memory (so you can assume bar == 0 in the example above), but am not sure. This can cause linkage problems, expecially if you use stub files, as the loader preferences initialized data (this was on an old pre2.6 Intel 960 version of gcc anyway) >Is that where the stuff goes you > defined under UDATASEG in TASM? No idea Andrew