[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] definition of memeory section
From: |
Julius Luukko |
Subject: |
Re: [avr-gcc-list] definition of memeory section |
Date: |
Fri, 13 Feb 2004 11:36:45 +0200 |
User-agent: |
KMail/1.4.3 |
On Friday 13 February 2004 11:05, Joerg Wunsch wrote:
> Wolfgang Gschwendtner <address@hidden> wrote:
> > section size addr
> > .data 0 8388864
> > .text 16684 0
> > .bss 1098 8388864
> > .noinit 0 8389962
> > .eeprom 0 8454144
> > .stab 25488 0
> > .stabstr 6944 0
>
> ..data is initialized data. Consumes RAM and ROM (for the initializers).
> ..text is the executable code, plus ROM constants. Consumes ROM.
> ..bss is uninitialized data. Consumes RAM, will be cleared to 0 by the
> the startup code.
> ..noinit is unititialized data. Consumes RAM, will not be touched by
> the startup code (IOW: survives a reset).
> ..eeprom is initialized data. Consumes EEPROM, you gotta transfer the
> data to EEPROM yourself using the programmer.
> ..stab and .stabstr contain debugging information only. Will not be
> transfered to the device, only meaningful to debuggers.
Hello all,
The meaning of all the other sections except .stab and .stabstr are documented
in the avr-libc documentation. Could these be added there? A quick look on
both gcc and ld documentation does not tell aything about these sections, or
do they?
--
D.Sc. Julius Luukko
Laboratory of Control Engineering/Department of Electrical Engineering
Lappeenranta University of Technology, FINLAND
phone:+358-5-621 6713, fax:+358-5-621 6799, www: http://www.ee.lut.fi