[ce14c07] | 1 | <sect2><title> </title><para> </para></sect2>
|
---|
| 2 |
|
---|
[04a3351] | 3 | <sect2><title>Short descriptions</title>
|
---|
[6370fa6] | 4 |
|
---|
[978d0bf] | 5 | <para><command>addr2line</command> translates program addresses to file
|
---|
| 6 | names and line numbers. Given an address and the name of an executable, it
|
---|
| 7 | uses the debugging information in the executable to figure out which source
|
---|
| 8 | file and line number are associated with the address.</para>
|
---|
| 9 |
|
---|
| 10 | <para><command>ar</command> creates, modifies, and extracts from archives. An archive
|
---|
| 11 | is a single file holding a collection of other files in a structure that makes
|
---|
| 12 | it possible to retrieve the original individual files (called members of
|
---|
| 13 | the archive).</para>
|
---|
| 14 |
|
---|
| 15 | <para><command>as</command> is an assembler. It assembles the output of
|
---|
| 16 | gcc into object files.</para>
|
---|
| 17 |
|
---|
| 18 | <para><command>gprof</command> displays call graph profile data.</para>
|
---|
| 19 |
|
---|
| 20 | <para><command>ld</command> is a linker. It combines a number of object
|
---|
| 21 | and archive files into a single file, relocating their data and tying up symbol
|
---|
| 22 | references.</para>
|
---|
| 23 |
|
---|
| 24 | <para><command>nm</command> lists the symbols occurring in a given object file.</para>
|
---|
| 25 |
|
---|
| 26 | <para><command>objcopy</command> is used to translate one type of object
|
---|
| 27 | file into another.</para>
|
---|
| 28 |
|
---|
| 29 | <para><command>objdump</command> displays information about the given
|
---|
| 30 | object file, with options controlling what particular information to display.
|
---|
| 31 | The information shown is mostly only useful to programmers who are working on
|
---|
| 32 | the compilation tools.</para>
|
---|
| 33 |
|
---|
| 34 | <para><command>ranlib</command> generates an index of the contents of an
|
---|
| 35 | archive, and stores it in the archive. The index lists all the symbols defined
|
---|
| 36 | by archive members that are relocatable object files.</para>
|
---|
| 37 |
|
---|
| 38 | <para><command>readelf</command> displays information about elf type binaries.</para>
|
---|
| 39 |
|
---|
| 40 | <para><command>size</command> lists the section sizes -- and the grand
|
---|
| 41 | total -- for the given object files.</para>
|
---|
| 42 |
|
---|
| 43 | <para><command>strings</command> outputs for each file given the sequences
|
---|
| 44 | of printable characters that are of at least the specified length (defaulting to 4)
|
---|
| 45 | For object files it prints by default only the strings from the initializing
|
---|
| 46 | and loading sections. For other types of files it scans the whole file.</para>
|
---|
| 47 |
|
---|
| 48 | <para><command>strip</command> discards symbols from object files.</para>
|
---|
[bdc08c1] | 49 |
|
---|
[978d0bf] | 50 | <para><command>libbfd</command> is the Binary File Descriptor library.</para>
|
---|
[bdc08c1] | 51 |
|
---|
[978d0bf] | 52 | <para><command>libopcodes</command> is a library for dealing with opcodes.
|
---|
| 53 | It is used for building utilities like objdump. Opcodes are the "readable text"
|
---|
| 54 | versions of instructions for the processor.</para>
|
---|
[bdc08c1] | 55 |
|
---|
[6370fa6] | 56 | </sect2>
|
---|
| 57 |
|
---|