On Tue, Jul 08, 2003 at 05:21:06PM -0700, Remco Treffkorn wrote: > > Hmm... > > I remember, you actually need to do something in Crt0. My implementation is a well in a hosted environment yes, you need to setup your stack and do some other fiddling. in OF we don't need to do anything since OF provides us a default 32K stack on powerpc anyway. if we want anything else we would need to setup a stack. oh and OF clears bss for us, you need to do that yourself in a hosted environment. > bit naive. I just made it so the linker would be happy, never thought about > it working. I believe setting up a stack should help matters a bit. yes, that could well be the cause of some bugs your seeing. > I'll look at dietlibc for ideas. > > I suck at ppc assembly, so I might need some help on this. i don't know any asm either, fortunatly very little if any is needed most of the time. -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgp00016.pgp
Description: PGP signature