[Balloon] bootldr and gcc 3.3 - the story continues

Colin Tuckley colin at tuckley.org
Tue Mar 14 14:02:37 GMT 2006


Paul Carpenter wrote:

> I don't have the code, but this suggests that there is a problem with
> pre-processor control of how bootldr.c is compiled and/or linked. This is
> assuming that gcc V2.95 does compile it where as V3.3 does not. Either that
> or linker control file is not generating the correct symbols for BSS causing
> the linker at least to believe there is NO BSS symbols for zbss to use, so
> does not link in zbss.

The code is available in svn on balloonboard.org, use something like:

svn co svn://balloonboard.org/balloon2/trunk/bootldr36 <dir>

to get the sources.

bootldr.c does contain a routine named zbss - however it's inside an #ifdef
ZBSS which is not defined anywhere so presumably isn't being compiled.

The linker commands are in bootldr.ld.in which does mention the BSS.

regards,

Colin

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

"Captain, the tribbles are eating the boards, the dilithium is
decrystalizing, the warp core integrity is shot, the engines refuse to talk
to me, and -- worst of all -- we're out of duct tape!"




More information about the Balloon mailing list