[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: |
Fri, 30 Aug 2002 23:22:01 +1200 |
"Theodore A. Roth" wrote:
> On Wed, 28 Aug 2002, daniel_laptop wrote:
>
> :)"Theodore A. Roth" wrote:
> :)
> :)> On Wed, 28 Aug 2002, daniel_laptop wrote:
> :)>
> :)> :) Has any of the noinitdata section been implemented ?
> :)> :) If so - where can I find info. (source or doc file etc.) ?
> :)> :) If not - is noinitdata going to be looked at ?
> :)>
> :)> Well, I just grep'ed for 'noinitdata' through all the files in binutils,
> :)> gcc and avr-libc (all cvs, about a week old) and didn't see anything.
> :)>
> :)> Marek would know more about this than me.
> :)>
> :)
> :)OK so "noinitdata" is all possible future stuff then ;-)
>
> I was just digging around and saw this in one of the linker scripts
> (avr5.x):
>
> /* Global data not cleared after reset. */
> .noinit SIZEOF(.bss) + ADDR(.bss) :
> {
> PROVIDE (__noinit_start = .) ;
> *(.noinit*)
> PROVIDE (__noinit_end = .) ;
> _end = . ;
> PROVIDE (__heap_start = .) ;
> } > data
>
> Is this what you are looking for?
>
>
> I'd like to know what this .noinit section is and what it's relationship to
> .bss is so that I can document it.
>
>
> Ted Roth
Yes this looks like what I was talking about :-)
(data area that will survive a reset,
or if in external battery backed sram survive power off/on)
documentation would be nice ;-)
Now I'm going to go and try this out.
Thanks
Daniel
- [avr-libc-dev] noinitdata section ?, daniel_laptop, 2002/08/27
- Re: [avr-libc-dev] noinitdata section ?, Theodore A. Roth, 2002/08/27
- Re: [avr-libc-dev] noinitdata section ?, daniel_laptop, 2002/08/27
- Re: [avr-libc-dev] noinitdata section ?, Theodore A. Roth, 2002/08/27
- Re: [avr-libc-dev] noinitdata section ?, daniel_laptop, 2002/08/28
- Re: [avr-libc-dev] noinitdata section ?, Theodore A. Roth, 2002/08/30
- Re: [avr-libc-dev] noinitdata section ?,
daniel_laptop <=
- Re: [avr-libc-dev] noinitdata section ?, Joerg Wunsch, 2002/08/30
- Re: [avr-libc-dev] noinitdata section ?, Theodore A. Roth, 2002/08/30
- Re: [avr-libc-dev] noinitdata section ?, Joerg Wunsch, 2002/08/30
- Re: [avr-libc-dev] noinitdata section ?, E. Weddington, 2002/08/30