GNU Binary Utilities或binutils是一整套的编程语言工具程序,用来处理许多格式的目标文件。当前的版本本来由在Cygnus Solutions的程序员以Binary File Descriptor library(libbfd)所撰写。这个工具程序一般搭配GNU Compiler Collection、make、和GDB这些程序来使用。php
刚开始时,这个包内只有几支程序,但后来,因为功能需求近似,陆续加入了GNU汇编器(GAS)和GNU链接器(GLD)。通常来讲,这些程序都很简单,大部分的复杂性都存在于Binary File Descriptor library和libopcodes这些库里头。html
原来的BFD版本由David Henkel-Wallace和Steve Chamberlain所撰写。Ken Raeburn和Ian Lance Taylor曾维护过。目前则是由Nick Clifton负责维护此版本。至于Linux上的版本,由H.J. Lu在维护。c++
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消息资源 |
windres |
Windows 资源档编译器 |
This brief manual contains documentation for the gnu binary utilities (GNU Binutils) version 2.22:编程
This document is distributed under the terms of the GNU Free Documentation License version 1.3. A copy of the license is included in the section entitled “GNU Free Documentation License”.编程语言