1

Is it possible to distinguish whether a symbol reported by nm is a function symbol or a variable symbol?

For example, if nm reports that there is an undefined symbol

U the_undefined_symbol

How can I know whether the_undefined_symbol is an undefined function or an undefined variable?

Alexey
  • 710
  • 3
  • 7
  • 19
  • Also see [nm(1) - list symbols from object files](https://linux.die.net/man/1/nm). – jww Jan 04 '19 at 04:33
  • What exactly should I see in that documentation? – Alexey Jan 04 '19 at 07:58
  • To answer questions like [nm reports the line “i cos” - what does it mean?](https://stackoverflow.com/q/54053396/608639) – jww Jan 05 '19 at 16:53
  • "U" - The symbol is undefined. That is all the documentation says about U symbols. Could you please provide more information? – Alexey Jan 05 '19 at 17:03

0 Answers0