[PATCH] nm: basic symbol type support for SysV-style symbol table dumping

Nick Clifton nickc@redhat.com
Fri Dec 11 12:55:00 GMT 2015


Hi Jan,


> Btw., the title should really read "nm: basic COFF symbol type support
> for SysV-style symbol table dumping", which is what I would commit if
> approved.

>> binutils/
>> 2015-12-07  Jan Beulich  <jbeulich@suse.com>
>>
>> 	* nm.c: Include coff/external.h, coff/internal.h, and
>> 	libcoff.h.
>> 	(struct extended_symbol_info): New field "coffinfo".
>> 	(get_symbol_type): Rename to get_elf_symbol_type.
>> 	(get_coff_symbol_type): New.
>> 	(print_symbol): Also init info.coffinfo.
>> 	(print_symbol_info_sysv): Print type and section name also for
>> 	COFF symbols.

Please could you add a binutils test for this new feature ?  Approved 
with that change.

Cheers
   Nick



More information about the Binutils mailing list