3 Linker Tools for Itanium-Based Systems
This chapter describes the linker toolset for
Table 5 Linker toolset for
Tool | Description |
|
|
chatr | Displays or modifies the internal attributes of an object file. See “Changing a Program's Attributes |
| |
|
|
nm | Displays the symbol table of an object file. See “Viewing Symbols in an Object file with nm(1)” |
| |
|
|
elfdump | Displays the contents of an ELF object file. See “Viewing the Contents of an Object File with |
| |
|
|
ldd | Lists dynamic dependencies of executable files and shared libraries. “Viewing Library Dependencies |
| |
|
|
pldd | Lists the dynamic libraries linked into each process, including shared objects explicitly attached |
| using dlopen/shl_load.See “Listing Dynamic Libraries with pldd(1)” (page 61) |
|
|
pstack | Prints a stack trace (hex+symbolic) for each lwp in each process and core file. See “Printing a |
| Stack Trace with pstack(1)” (page 62)Example 2 “Using the nm command” |
|
|
size | Prints sizes of object file elements. See “ Viewing the Size of Object File Elements with size(1)” |
| |
|
|
strip | Strips symbol and debugging information from an object file, executable, or archive library. See |
| |
|
|
fastbind | Improves |
| |
|
|
lorder | Finds ordering relationship for an object library. See “Finding Object Library Ordering Relationships |
| |
|
|
ltrace | Traces |
| |
|
|
Changing a Program's Attributes with chatr(1)
The chatr command (see chatr(1)) allows you to change various program attributes that were determined at link time. When run without any options, chatr displays the attributes of the specified file. The following summarizes the options you can use to change various attributes:
The chatr command supports two different command syntaxes. One is provided for the easy manipulation of simple files. Use it to modify files that have only a single text segment and data segment. The second command syntax allows you to specify selected segments to modify.
The following sections list the additional
The following summarizes the options you can use to change various attributes:
Table 6 options to change various attributes
To do this | Use the option |
Indicate that the specified shared library is subject to | |
path lists are provided (see +s and +b). |
|
|
|
Perform operations silently. | |
|
|
Changing a Program's Attributes with chatr(1) 53