Hinweis: Das Forum wird geschlossen! Neue Registrierungen sind nicht mehr möglich!

 Zurück zu Pro-Linux   Foren-Übersicht   FAQ     Suchen    Mitgliederliste
system.map aufbau

 
Neuen Beitrag schreiben   Auf Beitrag antworten    Pro-Linux Foren-Übersicht -> Sonstiges
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
laubfrosch



Anmeldungsdatum: 20.06.2002
Beiträge: 3

BeitragVerfasst am: 22. Jun 2002 16:05   Titel: system.map aufbau

Hi,

könnt ihr mir kurz sagen, wie der aufbau der system.map ist?
ich meine, welche spalte was anzeigt. ich habe 3 spalten in der system.map
danke

cu
 
Benutzer-Profile anzeigen Private Nachricht senden

Descartes
Gast





BeitragVerfasst am: 22. Jun 2002 22:02   Titel: Re: system.map aufbau

""
""System.map is produced by "nm vmlinux", irrelevant or uninteresting symbols are grepped out.
""
Quelle: Linux Kernel 2.4 Internals
Punkt 3 in Abschnitt 1.1 "Building the Linux Kernel Image"
http://www.moses.uklinux.net/patches/lki-1.html


also schauen wir uns mal die Manpage nm(1) an:

code:

NM(1) GNU Development Tools NM(1)

NAME
nm - list symbols from object files

SYNOPSIS
nm [-a|--debug-syms] [-g|--extern-only]
[-B] [-C|--demangle[=style]] [-D|--dynamic]
[-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...]

DESCRIPTION
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:

o The symbol value, in the radix selected by options (see below), or hexadec-
imal by default.

o 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 common symbols may appear with the same name. If the
symbol is defined anywhere, the common symbols are treated as undefined
references.

""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.

""N""
The symbol is a debugging symbol.

""R""
The symbol is in a read only data section.

""S""
The symbol is in an uninitialized data section for small objects.

""T""
The symbol is in the text (code) section.

""U""
The symbol is undefined.

""V""
The symbol is a weak object. When a weak defined symbol is linked with
a normal defined symbol, the normal defined symbol is used with no
error. When a weak undefined symbol is linked and the symbol is not
defined, the value of the weak symbol becomes zero with no error.

""W""
The symbol is a weak symbol that has not been specifically tagged as a
weak object symbol. When a weak defined symbol is linked with a normal
defined symbol, the normal defined symbol is used with no error. When
a weak undefined symbol is linked and the symbol is not defined, the
value of the weak symbol becomes zero with no error.

""-""
The symbol is a stabs symbol in an a.out object file. In this case,
the next values printed are the stabs other field, the stabs desc
field, and the stab type. Stabs symbols are used to hold debugging
information.

""?""
The symbol type is unknown, or object file format specific.

o The symbol name.

...

 

Beiträge vom vorherigen Thema anzeigen:   
     Pro-Linux Foren-Übersicht -> Sonstiges Alle Zeiten sind GMT + 1 Stunde
Seite 1 von 1

 
Gehen Sie zu:  

Powered by phpBB © phpBB Group
pro_linux Theme © 2004 by Mandaxy