public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* utility or script to parse map files
@ 2002-04-08  8:53 H Girard
  2002-04-08  9:00 ` Joel Sherrill
  0 siblings, 1 reply; 2+ messages in thread
From: H Girard @ 2002-04-08  8:53 UTC (permalink / raw)
  To: binutils

Hi everyone,

Does anyone know if there is a utility or script that can parse map files to
extract some selected sections ( the ones in rom)  and put them into a
format acceptable by a linker script.

the problem came about this way : the monitor program for my embedded
application runs out of rom and has many of the functions that are required
by applications that i can download to ram with gdb. Those applications if
they do not have a linker script that tells of the location of the functions
in rom ,takes them from the library and places them in ram using up more ram
than I have on this board.

Even small applications can take pages of functions that would have to be
entered manually into the linker script for that application. A script would
extract the name and address of functions in rom from the map file of the
monitor program and put them in a format that can be merged with the linker
script of the application.

I looked in the  gnu.org site for such a utility or program but could not
find anything. Is there a better way or have I missed something?

thank you

Henri

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-08 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-08  8:53 utility or script to parse map files H Girard
2002-04-08  9:00 ` Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).