- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Meaning of a line in nm
Operating System - HP-UX
1753770
Members
5015
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 06:18 PM
тАО06-08-2005 06:18 PM
Meaning of a line in nm
Hello,
I did a
nm file.sl | grep cpp
and i got
[2123] | 4611686018428491448| 360|FUNC |LOCAL|0| .text|__sinit_Export_
cpp___Fv
I tried the man pages but somehow couldn't get the picture clear.
Can somebody help me in understanding the meaning of the above line.
Export.cpp was a source file in that .sl
Thanks
I did a
nm file.sl | grep cpp
and i got
[2123] | 4611686018428491448| 360|FUNC |LOCAL|0| .text|__sinit_Export_
cpp___Fv
I tried the man pages but somehow couldn't get the picture clear.
Can somebody help me in understanding the meaning of the above line.
Export.cpp was a source file in that .sl
Thanks
Vibhor Kumar Agarwal
- Tags:
- nm
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 12:01 AM
тАО06-09-2005 12:01 AM
Re: Meaning of a line in nm
You can try this manual: http://docs.hp.com/en/B2355-90655/index.html
or this: http://www.cs.utk.edu/~help/unix/libraries/
live free or die
harry d brown jr
or this: http://www.cs.utk.edu/~help/unix/libraries/
live free or die
harry d brown jr
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 12:48 AM
тАО06-09-2005 12:48 AM
Re: Meaning of a line in nm
nm is used to look at the symbol tables of an object file . The o/p format will be something like this.
Name Value Scope Type Subspace
C$10 | 40|static|data |$LIT$
main | 0|extern|entry |$CODE$
printf | |undef |code |
$
nm lists all symbol names and shows address, scope, symbol type and the location of the
symbol in the object. C$10 is an internally used symbol and not of interest here. main has an
external scope which means it is globally accessible, a type of entry means that the symbol is
inside the object, and it is contained on the code section of the object. The scope of printf is
undefined, it is only a code reference. The value column shows the location (address) of the
symbol inside the object.
Name Value Scope Type Subspace
C$10 | 40|static|data |$LIT$
main | 0|extern|entry |$CODE$
printf | |undef |code |
$
nm lists all symbol names and shows address, scope, symbol type and the location of the
symbol in the object. C$10 is an internally used symbol and not of interest here. main has an
external scope which means it is globally accessible, a type of entry means that the symbol is
inside the object, and it is contained on the code section of the object. The scope of printf is
undefined, it is only a code reference. The value column shows the location (address) of the
symbol inside the object.
Be Always Joy ......
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP