Difference between revisions of "Binutils"

From Christoph's Personal Wiki
Jump to: navigation, search
 
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
*<code>[[objdump]]</code> &mdash; dump information about object files
 
*<code>[[objdump]]</code> &mdash; dump information about object files
 
*<code>ranlib</code> &mdash; generate indexes for archives
 
*<code>ranlib</code> &mdash; generate indexes for archives
*<code>readelf</code> &mdash; display content of [[wikipedia:Executable and Linkable Format|ELF]] files.[http://www.gnu.org/software/binutils/manual/html_chapter/binutils_14.html]
+
*<code>[[readelf]]</code> &mdash; display content of [[wikipedia:Executable and Linkable Format|ELF]] files.[http://www.gnu.org/software/binutils/manual/html_chapter/binutils_14.html]
 
*<code>size</code> &mdash; list total and section sizes
 
*<code>size</code> &mdash; list total and section sizes
 
*<code>[[Strings (command)|strings]]</code> &mdash; list printable strings
 
*<code>[[Strings (command)|strings]]</code> &mdash; list printable strings
Line 21: Line 21:
 
==See also==
 
==See also==
 
*[[Coreutils]]
 
*[[Coreutils]]
 +
*[[Findutils]]
 +
*[[Textutils]]
  
 
==External links==
 
==External links==

Latest revision as of 03:57, 1 April 2007

The GNU Binary Utilities, or binutils, is a collection of programming tools for the manipulation of object code in various object file formats. The current versions use the Binary File Descriptor library (libbfd). They are typically used in conjunction with GNU Compiler Collection, make, and GNU Debugger (GDB).

The binutils include the following commands:

  • as — assembler
  • ld — linker
  • 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.[1]
  • size — list total and section sizes
  • strings — list printable strings
  • strip — remove symbols from an object file
  • gprofProfiler

Most of the binutils are rather simple programs. Most of the complexity is encapsulated in the libbfd and libopcodes libraries, which they share.

See also

External links