ld-auto-import memory bug fixing

Ralf Habacker Ralf.Habacker@freenet.de
Fri Sep 7 10:01:00 GMT 2001


Hi,

I like to analyse how ld grab memory in which functions. For that I have patched
malloc relating functions like xmalloc, bfd_malloc,... to print out the function
in which it is called, the params/result and accumulated memory usage.

At next I like to know the tree of functions which have this functions called
(like backtrace).
I know that gcc has support of basic block profiling. Could this used in anyway
to automated print out functions name on calling the relating functions ?

--Ralf



More information about the Binutils mailing list