[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] map files, flash usage
From: |
Dave |
Subject: |
[avr-gcc-list] map files, flash usage |
Date: |
Mon, 6 Feb 2006 15:56:28 -0800 (PST) |
Hello All,
Forgive me if this is a really silly question. There
is an exmple on AVR Libc' user manual site on .map
files
(http://www.nongnu.org/avr-libc/user-manual/group__demo__project.html).
The following is taken from the demo.map file:
.text 0x00000000 0xec
*(.vectors)
.vectors 0x00000000 0x26
/junk/AVR/avr-libc-1.4/avr/lib/avr4/atmega8/crtm8.o
0x00000000 __vectors
0x00000000
__vector_default
0x00000026
__ctors_start = .
*(.fini2)
*(.fini1)
*(.fini0)
0x000000ec _etext = .
.data 0x00800060 0x0 load address
0x000000ec
0x00800060 PROVIDE
(__data_start, .)
*(.data)
*(.gnu.linkonce.d*)
0x00800060 . = ALIGN
(0x2)
0x00800060 _edata = .
0x00800060 PROVIDE
(__data_end, .)
Well, it says "The last address in the .text segment
is location 0x114 ( denoted by _etext ), so the
instructions use up 276 bytes of FLASH.". I couldn't
see the address mentioned (0x114). I see 0x000000ec is
denoted by _etext. Am I looking at the wrong place?
Also, how did they come up with 276 bytes?
Thank you for your time!
Dave
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] map files, flash usage,
Dave <=