https://sourceware.org/bugzilla/show_bug.cgi?id=23306
Bug ID: 23306 Summary: Please add feature to nm to display symbol visibility Product: binutils Version: 2.31 (HEAD) Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: zenith432 at users dot sourceforge.net Target Milestone: --- There are 3 utilities that dump the symbol table of object files objdump readelf nm Of these, objdump and readelf can display detailed symbol information - such as the symbol visiblity. nm dumps symbols, but does not display visibility. Why is this important? Because objdump and readelf only work on machine object files - elf, coff. nm is the only one that works on LTO objects. It has plugin support, and a gcc wrapper gcc-nm that invokes it with a plugin. So nm today is the only tool that can dump symbols from LTO objects, but it doesn't do a full job of dumping all information about a symbol. LLVM-nm has an option "-m", modelled on Apple's "nm -m" that displays extended information - including visibility. There is probably a format issue with this request, because nm uses official bsd, sysv or posix syntax. However, a "-m" extension can use any extended form it wants. Thanks. -- 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