|
|
1.1 ! root 1: .TH NM 1 ! 2: .CT 1 lib_obj ! 3: .SH NAME ! 4: nm \(mi name list (symbol table) ! 5: .SH SYNOPSIS ! 6: .B nm ! 7: [ ! 8: .B -agnopru ! 9: ] ! 10: [ ! 11: .I file ... ! 12: ] ! 13: .SH DESCRIPTION ! 14: .I Nm ! 15: prints the name list of each object ! 16: .I file ! 17: in the argument list. ! 18: If an argument ! 19: is a library archive, a listing for each object ! 20: file in the archive will be produced. ! 21: If no ! 22: .I file ! 23: is given, the symbols in ! 24: .F a.out ! 25: are listed. ! 26: .PP ! 27: Each symbol name is preceded by its value (blanks if undefined) ! 28: and one of the letters ! 29: .TP ! 30: .B U ! 31: undefined ! 32: .PD0 ! 33: .TP ! 34: .B A ! 35: absolute ! 36: .TP ! 37: .B T ! 38: text segment symbol ! 39: .TP ! 40: .B D ! 41: data segment symbol ! 42: .TP ! 43: .B B ! 44: bss segment symbol ! 45: .TP ! 46: .B C ! 47: common symbol ! 48: .TP ! 49: .B f ! 50: source file name ! 51: .TP ! 52: .B - ! 53: extra symbols for debuggers; ! 54: see ! 55: .B -a ! 56: below ! 57: .PD ! 58: .PP ! 59: If the symbol is local (non-external) the type letter is in ! 60: lower case. ! 61: The output is sorted alphabetically. ! 62: .PP ! 63: Options are: ! 64: .TP ! 65: .B -a ! 66: Print all symbols; normally extra debugger ! 67: symbols are excluded. ! 68: .TP ! 69: .B -g ! 70: Print only global (external) symbols. ! 71: .TP ! 72: .B -n ! 73: Sort numerically rather than alphabetically. ! 74: .TP ! 75: .B -o ! 76: Prepend file or archive element name to each ! 77: output line rather than printing it once separately. ! 78: .TP ! 79: .B -p ! 80: Don't sort; print in symbol-table order. ! 81: .TP ! 82: .B -r ! 83: Sort in reverse order. ! 84: .TP ! 85: .B -u ! 86: Print only undefined symbols. ! 87: .SH SEE ALSO ! 88: .IR ar (1), ! 89: .IR ar (5), ! 90: .IR a.out (5), ! 91: .IR stab (5), ! 92: .IR adb (1), ! 93: .IR pi (9.1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.