gprof cannot find symbols in a MIPS IRIX a.out

Anmol Paralkar aparalka@cisco.com
Sun Dec 21 20:14:00 GMT 2003


Hi Daniel,

 I'm using the IRIX linker. Would there be a way to make gprof
 read the dynamic symbol table instead? I tried to call
 bfd_get_dynamic_symtab_upper_bound() and bfd_canonicalize_dynamic_symtab()
 instead of the currently existing
 bfd_get_symtab_upper_bound() and bfd_canonicalize_symtab() - but that
 does not work.

Thanks & Regards.
Anmol.



On Sun, 21 Dec 2003, Daniel Jacobowitz wrote:

> On Sun, Dec 21, 2003 at 12:01:12PM +0530, Anmol Paralkar wrote:
> > Hi,
> >
> >  I am trying to use gprof on a MIPS IRIX 6.5 box, but gprof seems to be unable
> >  to read in the symbols of the executable.
>
> What linker are you using - the GNU linker or the IRIX linker?  It is a
> known issue with the IRIX linker that it tends to remove non-dynamic
> symbols by default.
>
> --
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer
>



More information about the Binutils mailing list