This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: meaning of this objdump output?
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 27 Nov 2001 10:52:51 +1030
- Subject: Re: meaning of this objdump output?
- References: <20011126183957.A8064@disaster.jaj.com>
On Mon, Nov 26, 2001 at 06:39:57PM -0500, Phil Edwards wrote:
> The output of objdump -t is documented to be "similar to the information
> provided by the `nm' program." Except that it isn't. Reading through
> the code, '-t' forwards to bfd_print_symbol(), which is a macro wrapper
> around something horrible. :-) That's where I gave up.
The "something horrible" is a call via a bfd target jump table. See
bfd/elf.c:bfd_elf_print_symbol for the elf version, which calls
bfd/syms.c:bfd_print_symbol_vandf to print the 'g' and 'O' you were
wondering about.
Alan