|
|
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 hexadecimal ! 28: value (blanks if undefined) ! 29: and one of the letters ! 30: .TP ! 31: .B U ! 32: undefined ! 33: .PD0 ! 34: .TP ! 35: .B A ! 36: absolute ! 37: .TP ! 38: .B T ! 39: text segment symbol ! 40: .TP ! 41: .B D ! 42: data segment symbol ! 43: .TP ! 44: .B B ! 45: bss segment symbol ! 46: .TP ! 47: .B C ! 48: common symbol ! 49: .TP ! 50: .B f ! 51: source file name ! 52: .TP ! 53: .B - ! 54: extra symbols for debuggers; ! 55: see ! 56: .B -a ! 57: below ! 58: .PD ! 59: .PP ! 60: If the symbol is local (non-external) the type letter is in ! 61: lower case. ! 62: The output is sorted alphabetically. ! 63: .PP ! 64: Options are: ! 65: .TP ! 66: .B -a ! 67: Print all symbols; normally extra debugger ! 68: symbols are excluded. ! 69: .TP ! 70: .B -g ! 71: Print only global (external) symbols. ! 72: .TP ! 73: .B -n ! 74: Sort numerically rather than alphabetically. ! 75: .TP ! 76: .B -o ! 77: Prepend file or archive element name to each ! 78: output line rather than printing it once separately. ! 79: .TP ! 80: .B -p ! 81: Don't sort; print in symbol-table order. ! 82: .TP ! 83: .B -r ! 84: Sort in reverse order. ! 85: .TP ! 86: .B -u ! 87: Print only undefined symbols. ! 88: .SH SEE ALSO ! 89: .IR ar (1), ! 90: .IR ar (5), ! 91: .IR a.out (5), ! 92: .IR stab (5), ! 93: .IR adb (1), ! 94: .IR pi (9.1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.