https://sourceware.org/bugzilla/show_bug.cgi?id=25676
Nick Clifton <nickc at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |FIXED --- Comment #6 from Nick Clifton <nickc at redhat dot com> --- (In reply to cialdi from comment #5) Hi Max, > For object files compiled with -fcommon nm cannot "find" file name and line. > The strange thing (in my opinion) is that for the corresponding elf file it > does. This is because "common" variables do not have single place where they are defined. At least not in object files. They can be defined in multiple locations, and it is only once they are linked that a final size and place of definition is chosen. If you look at the object file nm's output will show the variables of type "C". But once the object file is linked their type changes to "B", as they now have a definite location and size. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.