[ECOS] How to generate a map file?

Gary D. Thomas gary.thomas@mind.be
Tue Apr 1 01:15:00 GMT 2003


On Mon, 2003-03-31 at 18:09, Water He wrote:
> After I build my elf file, I want to know what a function's entry address is or a variable's address is.
> How to generate a map file?
> 

The easiest way is to use 'nm'.  For example:
  % arm-elf-nm <file>

-- 
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
'--------------------------------------------------------'


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list