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] |
Hi, This patch is not final, it is supposed to demostrate my thoughts regarding some modifications to nm(1) in order to output the value and the size of the symbols when the --size-sort is used. Right now, nm outputs the size of the symbol in the value field, which is not so elegant. You can test this patch using the sysv format to see the new functionality: % ./nm-new --size-sort -fsysv ~/foo.o Name Value Class Type Size Line Section symbol_one |00000000| R | |00000004| | symbol_two |00000004| R | |00000008| | main |00000028| T | |0000001c| | foo |00000000| T | |00000044| | Of course, there are more to be done. I would like to have a code review from the maintainers, in order to proceed and change the other formats, too, which, using my patch, are misfunctional. Elias -- http://gnewtellium.sourceforge.net MP3 is not a crime.
Attachment:
nm.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |