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?


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


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