[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 |
|
---|
[dcaa097] | 18 | <para><command>c++filt</command> is used by the linker to demangle C++ and
|
---|
| 19 | Java symbols, to keep overloaded functions from clashing.</para>
|
---|
[a639468] | 20 |
|
---|
[978d0bf] | 21 | <para><command>gprof</command> displays call graph profile data.</para>
|
---|
| 22 |
|
---|
| 23 | <para><command>ld</command> is a linker. It combines a number of object
|
---|
| 24 | and archive files into a single file, relocating their data and tying up symbol
|
---|
| 25 | references.</para>
|
---|
| 26 |
|
---|
| 27 | <para><command>nm</command> lists the symbols occurring in a given object file.</para>
|
---|
| 28 |
|
---|
| 29 | <para><command>objcopy</command> is used to translate one type of object
|
---|
| 30 | file into another.</para>
|
---|
| 31 |
|
---|
| 32 | <para><command>objdump</command> displays information about the given
|
---|
| 33 | object file, with options controlling what particular information to display.
|
---|
| 34 | The information shown is mostly only useful to programmers who are working on
|
---|
| 35 | the compilation tools.</para>
|
---|
| 36 |
|
---|
| 37 | <para><command>ranlib</command> generates an index of the contents of an
|
---|
| 38 | archive, and stores it in the archive. The index lists all the symbols defined
|
---|
| 39 | by archive members that are relocatable object files.</para>
|
---|
| 40 |
|
---|
| 41 | <para><command>readelf</command> displays information about elf type binaries.</para>
|
---|
| 42 |
|
---|
| 43 | <para><command>size</command> lists the section sizes -- and the grand
|
---|
| 44 | total -- for the given object files.</para>
|
---|
| 45 |
|
---|
| 46 | <para><command>strings</command> outputs for each file given the sequences
|
---|
| 47 | of printable characters that are of at least the specified length (defaulting to 4)
|
---|
| 48 | For object files it prints by default only the strings from the initializing
|
---|
| 49 | and loading sections. For other types of files it scans the whole file.</para>
|
---|
| 50 |
|
---|
| 51 | <para><command>strip</command> discards symbols from object files.</para>
|
---|
[bdc08c1] | 52 |
|
---|
[066907a] | 53 | <para><command>libiberty</command> contains routines used by various GNU
|
---|
| 54 | programs, including getopt, obstack, strerror, strtol and strtoul.</para>
|
---|
| 55 |
|
---|
[978d0bf] | 56 | <para><command>libbfd</command> is the Binary File Descriptor library.</para>
|
---|
[bdc08c1] | 57 |
|
---|
[978d0bf] | 58 | <para><command>libopcodes</command> is a library for dealing with opcodes.
|
---|
| 59 | It is used for building utilities like objdump. Opcodes are the "readable text"
|
---|
| 60 | versions of instructions for the processor.</para>
|
---|
[bdc08c1] | 61 |
|
---|
[6370fa6] | 62 | </sect2>
|
---|
| 63 |
|
---|