https://sourceware.org/bugzilla/show_bug.cgi?id=23306
--- Comment #3 from zenith432 at users dot sourceforge.net --- I'm not sure whether it's based on a formal specification, but here are two source files apple_nm.c Taken from Apple's open source. The function print_mach_symbols does the -m format output. llvm-nm.cpp Taken from llvm 6.0. The function darwinPrintSymbol does the -m format output. The comments there specifically say the code is intended to mimic the Darwin -m format, and near the beginning of the file it shows a support for 3 formats - BSD, POSIX, DARWIN ("Darmin -m format"). The output is for mach-o. ELF has a bigger set of symbol visibility and other attributes. So the format needs some adjustment - cannot be copied verbatim. I hope this helps. -- 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