- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ld -b -h symbol -o outfile.sl ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
02-24-2004 07:06 AM
02-24-2004 07:06 AM
if "T" indicates a global definition then what does "t" indicate?
build a sl file:
ld -b -o /home/sbadgett/bin/lib/libsetjcw.sl ~/bin/externsetjcwA.o
I get ...
nm -p /home/sbadgett/bin/lib/libsetjcw.sl
0000004712 t $PIC$0
0000000000 U P_WRITEINT
0000004648 T P_WRITEINT
0000000000 U P_WRITELN
0000004672 T P_WRITELN
0000000000 U P_WRITESTR
0000004624 T P_WRITESTR
0000004568 d S$4$setjcw
0000000000 U output
0000004600 T setjcw
0000004696 T setjcw
build the sl file and hide setjcw
ld -b -h setjcw -o /home/sbadgett/bin/lib/libsetjcw.sl ~/bin/externsetjcwA.o
I get ...
sbadgett:brainiac:S7: /home/sbadgett/pascal/dev>nm -p /home/sbadgett/bin/lib/libsetjcw.sl
0000004560 t $PIC$0
0000000000 U P_WRITEINT
0000004496 T P_WRITEINT
0000000000 U P_WRITELN
0000004520 T P_WRITELN
0000000000 U P_WRITESTR
0000004472 T P_WRITESTR
0000004440 d S$4$setjcw
0000000000 U output
0000004544 t setjcw
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:23 AM
02-24-2004 07:23 AM
SolutionFor example 'T' means global text or visible externally while 't' means local (to this object file) text. Local symbols are not available for dynamic linking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2004 07:29 AM
02-24-2004 07:29 AM
Re: ld -b -h symbol -o outfile.sl ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:20 AM
02-25-2004 04:20 AM
Re: ld -b -h symbol -o outfile.sl ...
/usr/ccs/bin/odump -slexportlist /home/sbadgett/bin/lib/libsetjcw.sl
/usr/ccs/bin/odump -slimportlist /home/sbadgett/bin/lib/libsetjcw.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:33 AM
02-25-2004 04:33 AM
Re: ld -b -h symbol -o outfile.sl ...
That is a going to be a helpful tool for us.
Thank you again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 04:36 AM
02-25-2004 04:36 AM