This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: gprof cannot find symbols in a MIPS IRIX a.out
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
>