Nothing Special   »   [go: up one dir, main page]

GNU Binutils

This is an old revision of this page, as edited by Vincent Lefèvre (talk | contribs) at 14:54, 9 March 2021 (new release 2.36.1). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The GNU Binary Utilities, or binutils, are a set of programming tools for creating and managing binary programs, object files, libraries, profile data, and assembly source code.

GNU Binutils
Developer(s)GNU Project
Stable release
2.36.1[1] / 6 February 2021; 3 years ago (2021-02-06)
Repository
TypeProgramming tools
LicenseGNU GPL
Websitewww.gnu.org/software/binutils/

Tools

They were originally written by programmers at Cygnus Solutions.

The GNU Binutils are typically used in conjunction with compilers such as the GNU Compiler Collection (gcc), build tools like make, and the GNU Debugger (gdb).

Through the use of the Binary File Descriptor library (libbfd), most tools support the various object file formats supported by libbfd.

H. J. Lu maintains a version of binutils with features purely for Linux.[2]

Commands

The binutils include the following commands:

as assembler popularly known as GAS (GNU Assembler)
ld linker
gprof profiler
addr2line convert address to file and line
ar create, modify, and extract from archives
c++filt demangling filter for C++ symbols
dlltool creation of Windows dynamic-link libraries
gold alternative linker for ELF files
nlmconv object file conversion to a NetWare Loadable Module
ldd list libraries imported by object file
nm list symbols exported by object file
objcopy copy object files, possibly making changes
objdump dump information about object files
ranlib generate indices for archives (for compatibility; same as ar -s)
readelf display content of ELF files
size list total and section sizes
strings list printable strings
strip remove symbols from an object file
windmc generates Windows message resources
windres compiler for Windows resource files

elfutils

Ulrich Drepper wrote elfutils, to partially replace GNU Binutils, purely for Linux and with support only for ELF and DWARF. It distributes three libraries with it for programmatic access.[3][4]

See also

References

  1. ^ Nick Clifton (2021-02-06). "GNU Binutils 2.36.1 has been released" (Mailing list). Retrieved 2021-03-09.
  2. ^ "README-release.binutils-2.24.51.0.3".
  3. ^ elfutils home
  4. ^ elfutils at Drepper's home