Re: [Tuxnes-devel] Uninitialized(??) statics in mapper.c:mmc1()
Brought to you by:
tmmm
From: Jim U. <ji...@3e...> - 2001-03-26 20:18:58
|
At 02:11pm on 2001 March 26, Jeroen Ruigrok/Asmodai did write: > -On [20010310 06:08], Jim Ursetto (ji...@3e...) wrote: > >At 11:53pm on 2001 March 09, Jim Ursetto did write: > >> Can anyone explain or venture a guess as to why > >> (compiler, etc.) none of my globals/statics are > >> being initialized? > >To answer my own question: the bss segment wasn't being > >zeroed out, because the crt0.o I'm using doesn't do > >this. (grr...) Time to rewrite it. > Jim, > so this isn't a problem anymore I assume? Yes, clearing the BSS segment at init time fixes the problem. Thanks. Jim -- ``The coolest thing is being able to get my e-mail read to me, like I'm the queen,'' said Jen Bekman, 31, an AOLbyPhone user in New York who develops Web content for streaming video. -- http://www0.mercurycenter.com/svtech/news/breaking/ap/docs/844798l.htm ji...@3e... / 0x43340710 / 517B C658 D2CB 260D 3E1F 5ED1 6DB3 FBB9 4334 0710 |