anm.1 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. .TH ANM 1 "$Revision$"
  2. .SH NAME
  3. anm \- print name list
  4. .SH SYNOPSIS
  5. anm [ \-gnoprus ] [ file ... ]
  6. .SH DESCRIPTION
  7. .I Anm
  8. prints the name list (symbol table) of each ack.out(5) format object
  9. .I file
  10. in the argument list. If an argument is an aal(1) or arch(1) archive,
  11. a listing of each object file in the archive will be produced.
  12. If no
  13. .I file
  14. is given, the symbols in
  15. `a.out'
  16. are listed.
  17. .PP
  18. Each symbol name is preceded by its value, a section indicator
  19. and a type indicator.
  20. A section indicator can be
  21. .SM
  22. .B U
  23. (undefined symbol),
  24. .SM
  25. .B A
  26. (absolute symbol),
  27. .SM
  28. .B C
  29. (common symbol), a section number (section related symbol),
  30. or
  31. .SM
  32. .B -
  33. (other symbol).
  34. A type indicator can be
  35. .SM
  36. .B F
  37. (filename),
  38. .SM
  39. .B M
  40. (module name),
  41. .SM
  42. .B E
  43. (external (global) symbol),
  44. or
  45. .SM
  46. .B -
  47. (local symbol).
  48. The output is sorted alphabetically.
  49. .PP
  50. Options are:
  51. .TP
  52. .B \-g
  53. Print only external (global) symbols.
  54. .TP
  55. .B \-n
  56. Sort numerically rather than alphabetically.
  57. .TP
  58. .B \-o
  59. Prepend file name to each output line rather than only once.
  60. .TP
  61. .B \-p
  62. Don't sort; print in symbol-table order.
  63. .TP
  64. .B \-r
  65. Sort in reverse order.
  66. .TP
  67. .B \-u
  68. Print only undefined symbols.
  69. .TP
  70. .B \-s
  71. Sort in section order.
  72. .sh FILES
  73. .SH SEE ALSO
  74. ack.out(5)