https://sourceware.org/bugzilla/show_bug.cgi?id=25355
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #8 from Alan Modra <amodra at gmail dot com> --- To reinforce Nick's comment #1 about the plugin api, this is what we get in bfd/plugin.c:bfd_plugin_canonicalize_symtab for gcc -fno-common compiling char nm_test_var; int nm_test_func (void) { return 0; } (gdb) p syms[0] $1 = {name = 0xb33800 "nm_test_func", version = 0x0, def = 0, visibility = 0, size = 0, comdat_key = 0x0, resolution = 0} (gdb) p syms[1] $2 = {name = 0xb33820 "nm_test_var", version = 0x0, def = 0, visibility = 0, size = 0, comdat_key = 0x0, resolution = 0} There isn't anything to distinguish variables from functions, and so nothing can be done in nm. -- You are receiving this mail because: You are on the CC list for the bug.