How to generate a map file

Jiri Gaisler jiri at gaisler.com
Fri Apr 29 21:55:24 UTC 2005




For a complete map file, use the -M option during linking
(or -Xlinker -M if you link with sparc-rtems-gcc).

Jiri.



Jennifer Averett <jennifer.averett at oarcorp.com> said:

> Run object dump on the executable.
> 
> >sparc-rtems-objdump -d hello.exe > hello.map
> 
> Jennifer
> 
> > Hi all,
> >
> >
> > We have a Tharsys SBC with ERC32 (chipset configuration) and we want to
> > run
> > RTEMS in it. I know that it's necessary to configure this board as the
> > BSP,
> > but first of all I would like to see a .map file of a "hello world"
> > application with the RTEMS binary.
> >
> > Unfortunatelly, I didn't find any compiler option to generate this output.
> > Is it possible to generate a memory map of the program with
> > sparc-rtems-gcc?
> > If yes, how?
> >
> > Thanks in advance,
> >
> >
> >
> > Fabrício de Novaes Kucinskis - DEA / INPE
> > -----------------------------------------
> > Divisão de Eletrônica Aeroespacial
> > Instituto Nacional de Pesquisas Espaciais
> >
> >
> 



-- 
-----------------------------------------------------------------------
Gaisler Research, 1:a Långgatan 19, 413 27 Göteborg, Sweden
email: jiri at gaisler.com, home page: http://www.gaisler.com 
-----------------------------------------------------------------------





More information about the users mailing list