Date: Tue, 20 Sep 94 11:06:28 -0400 From: dj AT ctron DOT com (DJ Delorie) To: enrico AT max DOT tiac DOT net Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: strange linker behavior > SE> I would have expected to get a 0 as output, and in fact this was the > SE> case until v1.11m5. The current version prints a large negative > SE> number... > > I don't think that there's any provision in the C language for what > uninitialized variables > start out as. delay could end up as anything! Uninitialized variables that end up in the BSS section (most do) are guaranteed to be initialized to zero. The problem is that the delay in libc causes the symbol to NOT end up in the BSS section, so all bets are off.