The binutils consists of several programs. Some of this are shown in the following table including a short description.


program

function

as

The portable GNU assembler.Generates a object file from a ASCII assembler file.

nm

List symbols from object files.

ld

The GNU linker generates the executable file. It is responsible for fill out the addresses for variables an routines. ld supports different output formats. The standard output format is ELF.
The linker adapts the program to the board, because it handles the memory layout. It can generate a map file, which contains the detailed information (addresses for variables and functions).

addr2line

This program converts addresses into file names and line numbers. It is usefull for searching the place where the given address belongs to.

ar

This tool handles the static library management. You can insert, remove, show and extract functions to and from a archive.

gprof

"gprof" produces an execution profile of C, Pascal, or Fortran77 pro- grams. It shows the amount of time spend in each subroutine. Useful for program optimation.

objcopy

Copy and translation of object files. For instance convert a produced ELF- into a SREC file.

objdump

Displays information from object files.

ranlib

It generates an index to the contents of an archive. It is used for relocatable object file.

readelf

Displays information about ELF files. Shows more information about the ELF file as objdump.

size

Lists the size of the several sections and the total size of object or archiv files.

strings

Shows the strings of printable characters in files. Useful for determining the contents of non-text files.

strip

Discards symbols from object files.