⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nm.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.TH nm 1 RISC.SH Namenm \- name list dump of RISC object files.SH Syntax.B "nm [-adefghnopruvxABTV] [ file1 ... filen ]".SH DescriptionThe .B nmcommand prints listings formats for the symbol and external sectionsof the symbol table.A .I filecan be an object or an archive.  If you do not specify a file,this command assumes .B a.out..SH OptionsThe.B \-Aand.B \-Boptions specify AT&T System V style output or Berkeley (4.3  BSD) style output, respectively.  The default is Berkeley (4.3 BSD)..NTSome options can change the version-specific defaults. These options change the meaning of overloaded flags after -A or -B is specified..NE.PPA normal Berkeley system produces the.I address or .I valuefield followed by a .I lettershowing what section the symbol or external is in and the .I nameof the symbol or external..PPThese section letters describe the information that .B nm generates:.TP 5.B Nnil storage class, compiler internal usage.TP 5.B Texternal text.TP 5.B tlocal text.TP 5.B Dexternal initialized data.TP 5.B dlocal initialized data.TP 5.B Bexternal zeroed data.TP 5.B blocal zeroed data.TP 5.B Aexternal absolute.TP 5.B alocal absolute.TP 5.B Uexternal undefined.TP 5.B Gexternal small initialized data.TP 5.B glocal small initialized data.TP 5.B Sexternal small zeroed data.TP 5.B slocal small zeroed data.TP 5.B Rexternal read only.TP 5.B rlocal read only.TP 5.B Ccommon.TP 5.B Esmall common.TP 5.B Vexternal small undefined.PPThe standard  System V format and the.B \-aspecified Berkeley format provide an expanded listing with thesecolumns:.TP 8.B Namethe symbol or external name.TP 8.B Valuethe value field for the symbol or external, usually an address orinteresting debugging information.TP 8.B Classthe symbol type.TP 8.B Typethe symbol's language declaration.TP 8.B Sizeunused.TP 8.B Indexthe symbol's index field.TP 8.B Sectionthe symbol's storage class.NTEvery effort was made to map the field's functionality into System Vnomenclature..NEThe .B nmcommand accepts these options:.TP 5.B -aprints debugging information, effectively turning Berkeley into System V format.TP 5.B -bprints the value field in octal.TP 5.B -dprints the value field in decimal (the System V default).TP 5.B -eprints external and statics only.TP 5.B -fproduces full output\(em\fBnm\fR still accepts this old option, but ignoresit.TP 5.B -hdoes not print headers.TP 5.B -nfor System V, sorts external symbols by name (default for Berkeley), andfor Berkeley, sorts all symbols by value.TP 5.B -ofor System V, prints the value field in octal, andfor Berkeley prepends the filename to each symbol\(emgood for grepping through \fBnm\fRof libraries.TP 5.B -pprints symbols as they are found in the file (the System V default).TP 5.B -rreverses the sense of a value or name sort.TP 5.B -uprints only undefined symbols.TP 5.B -vsorts external symbols by value.TP 5.B -xprints value field in hexadecimal (Berkeley default).TP 5.B -Ttruncates long names, inserting an asterisk (*) as the last printed character.TP 5.B -Vprints version information on stderr

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -