gnu-arm -toolchain malloc not working
2004-09-12 by lpc21xx
Greetings all,
I'm using the gnu-arm toolchain 3.4 which includes newlib.1.12.0.
I tied to allocate dynamic memory in heap space using malloc.
But I always get back the NULL pointer instead of a location in heap.
In my linker file I use :
.stack ALIGN(256) :
{
. += STACK_SIZE;
PROVIDE (_stack = .);
} > RAM
_end = . ; PROVIDE (end = .);
The _end symbol isn't that the symbol that malloc hooks to ?? Or do
I need an other symbol or do I overlook something else.... ???
Thanks in advance
Christian