Red Hat ENTERPRISE LINUX 4 - USING BINUTILS Manuale Utente Pagina 15

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 80
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 14
Chapter 3.
nm
nm [-a|--debug-syms] [-g|--extern-only]
[-B] [-C|--demangle[=style]] [-D|--dynamic]
[-S|--print-size] [-s|--print-armap]
[-A|-o|--print-file-name]
[-n|-v|--numeric-sort] [-p|--no-sort]
[-r|--reverse-sort] [--size-sort] [-u|--undefined-only]
[-t radix|--radix=radix] [-P|--portability]
[--target=bfdname] [-fformat|--format=format]
[--defined-only] [-l|--line-numbers] [--no-demangle]
[-V|--version] [-X 32_64] [--help] [objfile...]
gnu nm lists the symbols from object files objfile. . . . If no object files are listed as arguments, nm
assumes the file a.out.
For each symbol, nm shows:
The symbol value, in the radix selected by options (see below), or hexadecimal by default.
The symbol type. At least the following types are used; others are, as well, depending on the object
file format. If lowercase, the symbol is local; if uppercase, the symbol is global (external).
A
The symbol’s value is absolute, and will not be changed by further linking.
B
The symbol is in the uninitialized data section (known as BSS).
C
The symbol is common. Common symbols are uninitialized data. When linking, multiple com-
mon symbols may appear with the same name. If the symbol is defined anywhere, the common
symbols are treated as undefined references. For more details on common symbols, see the dis-
cussion of -warn-common in .
D
The symbol is in the initialized data section.
G
The symbol is in an initialized data section for small objects. Some object file formats permit
more efficient access to small data objects, such as a global int variable as opposed to a large
global array.
I
The symbol is an indirect reference to another symbol. This is a gnu extension to the a.out
object file format which is rarely used.
Vedere la pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 79 80

Commenti su questo manuale

Nessun commento