[Balloon] bootldr and gcc 3.3 - the story continues

Colin Tuckley colin at tuckley.org
Tue Mar 21 18:28:49 GMT 2006


Nick Bane wrote:

> Sorry not to reply sooner. I had a week of "other job" activity.
> 
> I confirm that this seems to be different default behaviour in gcc 2.95
> and 3.4 re placing zeroed variables in the bss section and not the data
> section. Did you try adding -fno-zero-initialized-in-bss to OS_CFLAGS?
> It works for me in principle. bootldr.nm now suggests that ack_commands
> (for example) is a "D" thing and not a "B" thing as before.

Yes, I eventually found -fno-zero-initialized-in-bss, it does seem to have
solved the problem. I'm just a little worried that some of the other stuff
thats still in the bss might need to be zero too.

But as of now I'm marking the bootldr as "working" when built with gcc 3.3,
my latest sources are in svn on balloonboard.org (although note that I've
renamed the dir from bootldr36 to bootldr).

regards,

Colin

-- 
Colin Tuckley      |  colin at tuckley.org  |  PGP/GnuPG Key Id
+44(0)1903 236872  |  +44(0)7799 143369  |     0x1B3045CE

A door is what a cat is perpetually on the wrong side of. - adapted from
Ogden Nash




More information about the Balloon mailing list