This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: meaning of this objdump output?


Phil Edwards <pedwards@disaster.jaj.com> writes:

> On Mon, Nov 26, 2001 at 06:39:56PM -0500, Daniel Jacobowitz wrote:
> > >     49% objdump -t -C -j .bss libstdc++.so | grep _S_free_list
> > >     0009d640 g     O .bss   00000080              std::__de[ trim long name ]
> > > 
> > > isn't similar, doesn't correspond, and isn't documented.  My coworkers
> > > could figure out the address field (obvious), and the ".bss" and "00000080"
> > > fields were obvious to me, but none of us can tell what the "g" and "O" are.
> > 
> > The 'g' is Global, and the 'O' is Object.  This really needs to be
> > better documented :)
> 
> "better" implies that some kind of documentation already exists.  :-)
> If you could point me to it, I could probably figure out the other pairs
> of letters that we're seeing.  Shoot, for that matter, where's the code that
> maps <thing> to <letter>?

bfd_print_symbol_vandf in bfd/syms.c.  This is called by most, perhaps
all, of the bfd_print_symbol routines when invoked with
bfd_print_symbol_all.

Ian


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