The GNU Binutils is a collection of programming utilities developed by the Free Software Foundation for the manipulation of object code in various object file formats. They are typically used in conjunction with GCC and GDB.

Originally the package consisted of only the minor utilities listed below, but later the GNU Assembler (GAS) and GNU Linker (GLD) were included in releases, since their functionality is so closely related.

The binutils include the following commands:

  • addr2line - convert address to file and line
  • ar - create, modify, and extract from archives
  • c++filt - demangling filter for C++ symbols
  • nm - list symbols in object files
  • objcopy - copy object files, possibly making changes
  • objdump - dump information about object files
  • ranlib - generate indexes for archives
  • readelf - display content of ELF files
  • size - list total and section sizes
  • strings - list printable strings
  • strip - remove symbols from an object file

Each binutil is a rather simple program; most of the complexity is encapsulated in the BFD and libopcodes libraries that they share.

External link