Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Symbol generation with cross compiler tools
@ 2000-06-02 14:50 Jeff Harrell
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Harrell @ 2000-06-02 14:50 UTC (permalink / raw)
  To: linux-mips

I would like to run a quick question past this news group. I am seeing
problems
with symbol generation on the mipsel cross compilation tools.  I am
using the XRAY debugger
with a Macgraigor EJTAG pod on a MIPS R4Kc (jade) core.  The XRAY
documentation says that it
should be able to recognize the symbols in an ELF executable.  The mips
tools (Cygnus GCC 2.9.x) that is
shipped with the development system has no problem generating symbols
that the XRAY debugger can recognize.  When I attempt to do  a similar
test with the SGI cross compiler tools, XRAY doesn't
recognize any of the symbols.  Here are the versions of the
cross-compiler tools that I am currently using...


       binutils-mipsel-linux-2.8.1-1
       egcs-mipsel-linux-1.0.3a-1
       egcs-c++-mipsel-linux-1.0.3a-1
       egcs-libstdc++-mipsel-linux-2.8.0-1
       egcs-objc-mipsel-linux-1.0.3a-1
       egcs-g77-mipsel-linux-1.0.3a-1


I am using the "-g" command to generate debugging information.

I appreciate any information that anyone might have on similar
situations.  Thank you in advance

Jeff Harrell

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell                    Work:  (801) 619-6104
Broadband Access group/TI
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

* Re: Symbol generation with cross compiler tools
@ 2000-06-02 20:28 Joan Eslinger
  0 siblings, 0 replies; 2+ messages in thread
From: Joan Eslinger @ 2000-06-02 20:28 UTC (permalink / raw)
  To: Jeff Harrell; +Cc: linux-mips

I asked one of the compiler guys, and he said the "SGI cross compilers"
are also made by Cygnus. He also said

   This customer would need to know where in the executable
   the symbols are read for XRAY and then see if that section
   exists in the mips targeted executable.

In particular, some tools generate .symtab and/or .dynstr sections with
symbols, and other tools only read one or the other of those
sections. He though you were probably missing a .symtab section in your
object.

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

end of thread, other threads:[~2000-06-02 19:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-02 14:50 Symbol generation with cross compiler tools Jeff Harrell
  -- strict thread matches above, loose matches on Subject: below --
2000-06-02 20:28 Joan Eslinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox