[Top][All Lists]

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

Re: [avr-libc-dev] noinitdata section ?

From: daniel_laptop
Subject: Re: [avr-libc-dev] noinitdata section ?
Date: Mon, 02 Sep 2002 03:02:07 +1200

Joerg Wunsch wrote:

> As Theodore A. Roth wrote:
> > Is it possible to tell the linker where to put the .noinit section
> > (i.e. at an address in a device that is memory mapped into the
> > external sram space)?
> avr-gcc ... -Wl,--section-start=.noinit=0x802000 ...
> The only crock is that the 0x800000 offset used for normal .data
> variables needs to be added manually.  (The linker complains about
> your .noinit getting outside of the data region otherwise.)

Looking at map files this also moves "__heap_start" to (0x802000 + size of
Is it possible to set __heap_start to __bss_end at link time ?
or does it have to be done at runtime with __malloc_heap_start


reply via email to

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