delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/02/01/15:47:21

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Symbol table
Date: 1 Feb 2004 20:14:23 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 28
Message-ID: <bvjmmv$fqf$1@nets3.rz.RWTH-Aachen.DE>
References: <401d5314_6 AT corp DOT newsgroups DOT com>
NNTP-Posting-Host: accip02.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1075666463 16207 137.226.33.41 (1 Feb 2004 20:14:23 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 1 Feb 2004 20:14:23 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Bill Cunningham <nospam AT nspam DOT net> wrote:
> I'd like to be able to read symbols. 

Why?  I.e. how do existing tools like objdump or gdb fail to meet your
needs?

> Can anyone tell me what this sym table means? 

Not without you specifying *what* symbol table you're referring to.
This part of the object file format used by DJGPP is the one that has
seen the most change over the history of the project.  Different
versions of GCC, called with different -g options, have wildly
different formats of symbol tables.

> coff-go32 must be DJ's own BFD.

It's really rather straight-forward COFF.  DJ has a document about it
at his web site.  To read the symbols, your best bet is to use the GNU
BFD library --- that's what the majority of other tools working on
such files do.

[And please don't post uuencoded stuff to non-binary newsgroups --- if
it can't be posted as plain text, it's almost certainly useless here,
anyway]

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019