[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] malloc bug ?

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] malloc bug ?
Date: Mon, 9 Sep 2002 13:43:02 +0200
User-agent: Mutt/1.2.5i

As daniel_laptop wrote:

> My question is, is __heap_start used in anything other than malloc.c

Nope, __heap_start and __heap_end are just there so the application
can tune where malloc() is going to allocate the dynamic memory.

> Will att. file work for all avr-libc functions (only changing
> __malloc_heap_start)

I would do it using linker directives (--defsym), this saves you from
the trouble of doing it at run-time.  Apart from that, at a first
glance, it looks OK.  Just give it a try and see if it works.

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]