avr-libc-dev
[Top][All Lists]
Advanced

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

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


From: E. Weddington
Subject: Re: [avr-libc-dev] noinitdata section ?
Date: Fri, 30 Aug 2002 11:17:38 -0600

On 30 Aug 2002 at 18:24, Joerg Wunsch wrote:

> As Theodore A. Roth wrote:
> 
> > That offset is needed because of the Harvard nature of this beast.
> > Just to be clear (so I can write it up in the docs), you are saying
> > that if you want your .noinit to live at address 0x2000 in sram, you
> > have to manually add 0x800000 to the addr you give as the start of
> > the section.
> 
> Yep.
> 
> > Otherwise,
> > the linker thinks you are tried to put the .noinit section into the
> > .text section instead of .data/.bss.
> 
> Apparently, yes.
> 

Ah, so......
I'm learning something new every day. :-)
Thanks.
Eric




reply via email to

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