This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]