Problem with malloc()

Moser, Dan (GE Trans)
Tue Jul 12 15:38:00 GMT 2005


I got my newbie start with newlib by using the following two articles by Bill Gatliff and then a couple hours of playing around to get the basic pieces in place for my system.

Dan Moser

-----Original Message-----
[]On Behalf Of Stefan Karlsson
Sent: Tuesday, July 12, 2005 11:29 AM
Subject: Problem with malloc()

I have built a PowerPC executable with Newlib (+ libnosys.a). My problem is
that malloc() doesn't work. As far as I can see the problem is that the av_
array used by _malloc_r() contains garbage.

Is there some initialization that needs to be done?

/Stefan (newbie)

More information about the Newlib mailing list