meaning of this objdump output?

Alan Modra amodra@bigpond.net.au
Mon Nov 26 16:24:00 GMT 2001


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



More information about the Binutils mailing list