https://sourceware.org/bugzilla/show_bug.cgi?id=20751
Bug ID: 20751 Summary: Enhancement: make 'nm' to show symbol versions; improve documentation on symbol versions for 'objdump' and 'readelf'; (?) standardize version display format Product: binutils Version: 2.26 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: sasha2048 at gmail dot com Target Milestone: --- 1. There is no support for displaying symbol version in 'nm'. E.g. output of 'nm -D […]/libc.so.6' shows something like: […] 0000000000143230 T realpath 00000000000453c0 T realpath […] which is pretty unclear. I understand that it may be unreasonable to break current display format, but introducing some new key like '--with-symbol-versions' would be nice. 2. While 'objdump' and 'readelf' are able to display symbol version, there is no mention about it in documentation. 'man objdump' says: "After the section name comes another field, a number, which for common symbols is the alignment and for other symbol is the size. Finally the symbol's name is displayed." But when objdumping shared object with symbol versions, 5th column is silently inserted between symbol size and symbol name. 'readelf' displays names of symbols with version as 'symbol@version' or 'symbol@@version'. But there is no mention about that in documentation. Neither about the fact of displaying version itself, nor about difference between '@' and '@@'. 3. This point may be superfluous. But why not to make 'objdump' to display version information in same way as 'readelf'? I.e. 'symbol@@version' and 'symbol@version' instead of 'version symbol' and '(version) symbol'. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils