gnu binutils

来源:互联网 发布:移动数据流量卡 编辑:程序博客网 时间:2024/05/16 05:45

GNU binutils是一组二进制工具集。


binutils包含底下这些指令:

as汇编器ld连接器gprof性能分析工具程序addr2line从目标文件的虚拟地址获取文件的行号或符号ar可以对静态库做创建、修改和取出的操作。c++filt解码 C++ 的符号dlltool创建Windows 动态库gold另一种连接器nlmconv可以转换成NetWare Loadable Module目标文件格式nm显示目标文件内的符号objcopy复制目标文件,过程中可以修改objdump显示目标文件的相关信息,亦可反汇编ranlib产生静态库的索引readelf显示ELF文件的内容size列出总体和section的大小strings列出任何二进制档内的可显示字符串strip从目标文件中移除符号windmc产生Windows消息资源windresWindows 资源档编译器
详情看下面
src: http://www.gnu.org/software/binutils/

GNU Binutils

The GNU Binutils are a collection of binary tools. The main ones are:

  • ld - the GNU linker.
  • as - the GNU assembler.

But they also include:

  • addr2line - Converts addresses into filenames and line numbers.
  • ar - A utility for creating, modifying and extracting from archives.
  • c++filt - Filter to demangle encoded C++ symbols.
  • dlltool - Creates files for building and using DLLs.
  • gold - A new, faster, ELF only linker, still in beta test.
  • gprof - Displays profiling information.
  • nlmconv - Converts object code into an NLM.
  • nm - Lists symbols from object files.
  • objcopy - Copies and translates object files.
  • objdump - Displays information from object files.
  • ranlib - Generates an index to the contents of an archive.
  • readelf - Displays information from any ELF format object file.
  • size - Lists the section sizes of an object or archive file.
  • strings - Lists printable strings from files.
  • strip - Discards symbols.
  • windmc - A Windows compatible message compiler.
  • windres - A compiler for Windows resource files.

Most of these programs use BFD, the Binary File Descriptor library, to do low-level manipulation. Many of them also use the opcodes library to assemble and disassemble machine instructions.

The binutils have been ported to most major Unix variants as well as Wintel systems, and their main reason for existence is to give the GNU system (and GNU/Linux) the facility to compile and link programs.

Obtaining binutils

The latest release of GNU binutils is 2.27. The various NEWS files (binutils, gas, and ld) have details of what has changed in this release.

See the SOFTWARE page for information on obtaining releases of GNU binutils and other GNU software. The current release can be downloaded from http://ftp.gnu.org/gnu/binutils

If you plan to do active work on GNU binutils, you can access the development source tree by anonymous git:

  git clone git://sourceware.org/git/binutils-gdb.git  

Alternatively, you can use the gitweb interface, or the source snapshots, available as bzipped tar files via anonymous FTP from ftp://sourceware.org/pub/binutils/snapshots.

Bug reports

There is a bug-tracking system at http://sourceware.org/bugzilla/.

Mailing lists

There are three binutils mailing lists:

bug-binutils@gnu.org (archives)
For reporting bugs.
binutils@sourceware.org (archives)
For discussing binutils issues.
binutils-cvs (archives)
A read-only mailing list containing the notes from checkins to the binutils git repository. (This list has an odd name for historical reasons.)

You can use this form to subscribe to the binutils@sourceware.org or binutils-cvs@sourceware.org mailing lists:

Mailing list:  Your e-mail address: 
 Digest version?  

To subscribe to the bug-binutils@gnu.org mailing list, see the bug-binutils info page.

You may wish to browse the old mail archives of the gas2 and bfd mailing lists. These were the discussion lists for binutils until May 1999. Please do not send mail to them any longer.

Documentation

The documentation for binutils 2.27 is available.

A guide to porting the binutils to a new target has been contributed.


Return to GNU's home page.

Please send FSF & GNU inquiries & questions to gnu@gnu.org. There are also other ways to contact the FSF.

Please send comments on these web pages to binutils@sourceware.org, send other questions to gnu@gnu.org.

Copyright (C) 1998, 2000-2014 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

Updated: Last modified: Mon Sep 23 08:45:03 BST 2014



1 0
原创粉丝点击